aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-06-04 15:54:10 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-06-11 09:32:18 +0000
commit6dd0e79d096381e2498f9e56a804778bb54f14b1 (patch)
tree1bf7d342f72af5153c580cb65cdea8e9fd92164b /src/plugins/vcsbase
parent277495e8cbee9ee5a7216ae9a3b7d253a3b536b9 (diff)
Add override to IDocument hierarchy
Change-Id: I6884f59fe0f06e380254c1f8076dd561d9df4ee3 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/submiteditorfile.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/plugins/vcsbase/submiteditorfile.h b/src/plugins/vcsbase/submiteditorfile.h
index f370df20b2..093e7c6944 100644
--- a/src/plugins/vcsbase/submiteditorfile.h
+++ b/src/plugins/vcsbase/submiteditorfile.h
@@ -47,16 +47,17 @@ public:
explicit SubmitEditorFile(const VcsBaseSubmitEditorParameters *parameters,
VcsBaseSubmitEditor *parent = 0);
- OpenResult open(QString *errorString, const QString &fileName, const QString &realFileName);
- bool setContents(const QByteArray &contents);
- QString defaultPath() const { return QString(); }
- QString suggestedFileName() const { return QString(); }
+ OpenResult open(QString *errorString, const QString &fileName,
+ const QString &realFileName) override;
+ bool setContents(const QByteArray &contents) override;
+ QString defaultPath() const override { return QString(); }
+ QString suggestedFileName() const override { return QString(); }
- bool isModified() const { return m_modified; }
- bool isSaveAsAllowed() const { return false; }
- bool save(QString *errorString, const QString &fileName, bool autoSave);
- ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const;
- bool reload(QString *errorString, ReloadFlag flag, ChangeType type);
+ bool isModified() const override { return m_modified; }
+ bool isSaveAsAllowed() const override { return false; }
+ bool save(QString *errorString, const QString &fileName, bool autoSave) override;
+ ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const override;
+ bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override;
void setModified(bool modified = true);