VCS: Add 'Annotate' context menu entry to build issues task window.

This commit is contained in:
Friedemann Kleint
2010-03-19 17:22:18 +01:00
parent 1abe898c8a
commit 751d7d043c
19 changed files with 109 additions and 25 deletions

View File

@@ -44,7 +44,8 @@ public:
enum Operation {
AddOperation, DeleteOperation, OpenOperation,
CreateRepositoryOperation,
SnapshotOperations
SnapshotOperations,
AnnotateOperation
};
explicit IVersionControl(QObject *parent = 0) : QObject(parent) {}
@@ -126,6 +127,11 @@ public:
*/
virtual bool vcsRemoveSnapshot(const QString &topLevel, const QString &name) = 0;
/*!
* Display annotation for a file and scroll to line
*/
virtual bool vcsAnnotate(const QString &file, int line) = 0;
signals:
void repositoryChanged(const QString &repository);
void filesChanged(const QStringList &files);