Commit e8683571 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

VCS: Reslot describe functions

They're used by VcsEditorFactory

Change-Id: I9211f406b389649bf8ff9fe7f24522026b1711d4
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent b064b067
......@@ -52,11 +52,13 @@ public:
void annotate(const QString &workingDir, const QString &file,
const QString &revision = QString(), int lineNumber = -1,
const QStringList &extraOptions = QStringList());
void view(const QString &source, const QString &id,
const QStringList &extraOptions = QStringList());
QString findTopLevelForFile(const QFileInfo &file) const;
bool managesFile(const QString &workingDirectory, const QString &fileName) const;
public slots:
void view(const QString &source, const QString &id,
const QStringList &extraOptions = QStringList());
protected:
Core::Id vcsEditorKind(VcsCommandTag cmd) const;
QString vcsCommandString(VcsCommandTag cmd) const;
......
......@@ -194,9 +194,11 @@ private slots:
void testVcsStatusDynamicNotManaged();
#endif
public slots:
void describe(const QString &source, const QString &changeNr);
private:
void annotateVersion(const QString &workingDirectory, const QString &file, const QString &revision, int lineNumber);
void describe(const QString &source, const QString &changeNr);
void syncSlot();
void updateStatusActions();
......
......@@ -338,6 +338,7 @@ public:
static QString msgNoChangedFiles();
static QString msgNoCommits(bool includeRemote);
public slots:
void show(const QString &source, const QString &id, const QString &name = QString());
private:
......
......@@ -70,11 +70,12 @@ public:
void revertAll(const QString &workingDir, const QString &revision = QString(),
const QStringList &extraOptions = QStringList()) override;
QString findTopLevelForFile(const QFileInfo &file) const override;
public slots:
void view(const QString &source, const QString &id,
const QStringList &extraOptions = QStringList()) override;
QString findTopLevelForFile(const QFileInfo &file) const override;
protected:
Core::Id vcsEditorKind(VcsCommandTag cmd) const override;
QStringList revisionSpec(const QString &revision) const override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment