diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-10-20 12:38:50 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-10-21 08:22:27 +0000 |
commit | a693bd97efa87c0221d19c2237705628f614306a (patch) | |
tree | 22e32298cd60ac8f5daea0a62fef17e68f80af9c /src/plugins/git/gitversioncontrol.h | |
parent | 72d3f4383ea6eeff59ed26a23aafec9341bc5734 (diff) | |
download | qt-creator-a693bd97efa87c0221d19c2237705628f614306a.tar.gz |
VCS: "final"-ize IVersionControl implementations
Change-Id: I123a8da9b08b2fe5de679d5caac7fa20bfb0ef4a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitversioncontrol.h')
-rw-r--r-- | src/plugins/git/gitversioncontrol.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/plugins/git/gitversioncontrol.h b/src/plugins/git/gitversioncontrol.h index b46ee90484..c0f75fa9ca 100644 --- a/src/plugins/git/gitversioncontrol.h +++ b/src/plugins/git/gitversioncontrol.h @@ -39,29 +39,29 @@ class GitVersionControl : public Core::IVersionControl public: explicit GitVersionControl(GitClient *client); - QString displayName() const override; - Core::Id id() const override; + QString displayName() const final; + Core::Id id() const final; - bool managesDirectory(const QString &directory, QString *topLevel) const override; - bool managesFile(const QString &workingDirectory, const QString &fileName) const override; + bool managesDirectory(const QString &directory, QString *topLevel) const final; + bool managesFile(const QString &workingDirectory, const QString &fileName) const final; - 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 isConfigured() const final; + bool supportsOperation(Operation operation) const final; + bool vcsOpen(const QString &fileName) final; + bool vcsAdd(const QString &fileName) final; + bool vcsDelete(const QString &filename) final; + bool vcsMove(const QString &from, const QString &to) final; + bool vcsCreateRepository(const QString &directory) final; - bool vcsAnnotate(const QString &file, int line) override; - QString vcsTopic(const QString &directory) override; + bool vcsAnnotate(const QString &file, int line) final; + QString vcsTopic(const QString &directory) final; Core::ShellCommand *createInitialCheckoutCommand(const QString &url, const Utils::FileName &baseDirectory, const QString &localName, - const QStringList &extraArgs) override; + const QStringList &extraArgs) final; - QStringList additionalToolsPath() const override; + QStringList additionalToolsPath() const final; void emitFilesChanged(const QStringList &); void emitRepositoryChanged(const QString &); |