aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/diffeditor/diffeditor.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-06-02 17:14:48 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-06-10 11:21:17 +0000
commit4f927e4c87f07c4d50efcef5b61478df61cc9d3f (patch)
treea9bbeafa63ea92a5171990bdc8639f93282a7252 /src/plugins/diffeditor/diffeditor.h
parentc916d250b3c1ff28a4ad0c93ccbd6005c9ff9f42 (diff)
Move "open" from IEditor to IDocument
For non-editor documents it currently is not used, but for editors it makes more sense to have that on the document instead of the editor. Most actual implementations of "open" were done in the documents already anyhow, because it is needed for reloading. Change-Id: I29d4df2078995cbe80172b51a9bebeecb3afad3c Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/diffeditor/diffeditor.h')
-rw-r--r--src/plugins/diffeditor/diffeditor.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/diffeditor/diffeditor.h b/src/plugins/diffeditor/diffeditor.h
index 350e657799..5011ee2163 100644
--- a/src/plugins/diffeditor/diffeditor.h
+++ b/src/plugins/diffeditor/diffeditor.h
@@ -63,12 +63,7 @@ public:
~DiffEditor() override;
Core::IEditor *duplicate() override;
-
- bool open(QString *errorString,
- const QString &fileName,
- const QString &realFileName) override;
Core::IDocument *document() override;
-
QWidget *toolBar() override;
private slots: