diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2020-06-17 23:50:30 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2020-06-18 05:17:59 +0000 |
commit | 5ebe34a33205199bd755283ed0a8c30870dadab8 (patch) | |
tree | 2a3c4429728f4cc6fe66e5bc1997dc6761164c5a /src/plugins/clearcase | |
parent | e9df7825fa8a8714c3623154f1fc3cf13066a9a4 (diff) |
VCS: Add vcsDescribe
Already exists in all implementations, but there was no common declaration.
Change-Id: Ieb3d10d1936c207722b5001712bce41e8114dcdc
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/clearcase')
-rw-r--r-- | src/plugins/clearcase/clearcaseplugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/clearcase/clearcaseplugin.cpp b/src/plugins/clearcase/clearcaseplugin.cpp index 12f6ea4de0..7c0c95c632 100644 --- a/src/plugins/clearcase/clearcaseplugin.cpp +++ b/src/plugins/clearcase/clearcaseplugin.cpp @@ -200,6 +200,7 @@ public: bool vcsCreateRepository(const QString &directory) final; void vcsAnnotate(const QString &file, int line) final; + void vcsDescribe(const QString &source, const QString &changeNr) final; QString vcsOpenText() const final; QString vcsMakeWritableText() const final; @@ -250,7 +251,6 @@ public: const QString &revision = QString(), int lineNumber = -1) const; bool newActivity(); void updateStreamAndView(); - void describe(const QString &source, const QString &changeNr); protected: void updateActions(VcsBase::VcsBasePluginPrivate::ActionState) override; @@ -363,19 +363,19 @@ private: VcsEditorFactory logEditorFactory { &logEditorParameters, [] { return new ClearCaseEditorWidget; }, - std::bind(&ClearCasePluginPrivate::describe, this, _1, _2) + std::bind(&ClearCasePluginPrivate::vcsDescribe, this, _1, _2) }; VcsEditorFactory annotateEditorFactory { &annotateEditorParameters, [] { return new ClearCaseEditorWidget; }, - std::bind(&ClearCasePluginPrivate::describe, this, _1, _2) + std::bind(&ClearCasePluginPrivate::vcsDescribe, this, _1, _2) }; VcsEditorFactory diffEditorFactory { &diffEditorParameters, [] { return new ClearCaseEditorWidget; }, - std::bind(&ClearCasePluginPrivate::describe, this, _1, _2) + std::bind(&ClearCasePluginPrivate::vcsDescribe, this, _1, _2) }; friend class ClearCasePlugin; @@ -1605,7 +1605,7 @@ void ClearCasePluginPrivate::vcsAnnotateHelper(const QString &workingDir, const } } -void ClearCasePluginPrivate::describe(const QString &source, const QString &changeNr) +void ClearCasePluginPrivate::vcsDescribe(const QString &source, const QString &changeNr) { const QFileInfo fi(source); QString topLevel; |