diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-04-29 14:27:09 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-05-08 13:44:49 +0000 |
commit | 2bfb4fbf8055102120709555a16be452cb9a2bca (patch) | |
tree | fa1d79ded4afae4a7b317ff2d242ed7f4fecfe77 /src/plugins/mercurial | |
parent | 5c58293a36b8b7700715163131e99c549623940d (diff) | |
download | qt-creator-2bfb4fbf8055102120709555a16be452cb9a2bca.tar.gz |
Vcs: Sprinkle overrides over IVersionControls
Do this in a separate step to keep the next patch more readable.
Change-Id: I37cfd5481dcbfda52135eccec30852aefde1b950
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/mercurial')
-rw-r--r-- | src/plugins/mercurial/mercurialcontrol.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/plugins/mercurial/mercurialcontrol.h b/src/plugins/mercurial/mercurialcontrol.h index 31dc0063f3..6807e57aba 100644 --- a/src/plugins/mercurial/mercurialcontrol.h +++ b/src/plugins/mercurial/mercurialcontrol.h @@ -51,19 +51,20 @@ class MercurialControl: public Core::IVersionControl public: explicit MercurialControl(MercurialClient *mercurialClient); - QString displayName() const; - Core::Id id() const; - bool managesDirectory(const QString &filename, QString *topLevel = 0) const; - bool managesFile(const QString &workingDirectory, const QString &fileName) const; - bool isConfigured() const; - bool supportsOperation(Operation operation) const; - bool vcsOpen(const QString &fileName); - bool vcsAdd(const QString &filename); - bool vcsDelete(const QString &filename); - bool vcsMove(const QString &from, const QString &to); - bool vcsCreateRepository(const QString &directory); + QString displayName() const override; + Core::Id id() const override; + bool managesDirectory(const QString &filename, QString *topLevel = 0) const override; + bool managesFile(const QString &workingDirectory, const QString &fileName) const override; + bool isConfigured() const override; + bool supportsOperation(Operation operation) const override; + bool vcsOpen(const QString &fileName) override; + bool vcsAdd(const QString &filename) override; + bool vcsDelete(const QString &filename) override; + bool vcsMove(const QString &from, const QString &to) override; + bool vcsCreateRepository(const QString &directory) override; + bool vcsAnnotate(const QString &file, int line) override; + bool sccManaged(const QString &filename); - bool vcsAnnotate(const QString &file, int line); public slots: // To be connected to the HgTask's success signal to emit the repository/ |