forked from qt-creator/qt-creator
VCS: Reslot describe functions
They're used by VcsEditorFactory Change-Id: I9211f406b389649bf8ff9fe7f24522026b1711d4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b064b06759
commit
e868357107
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user