diff options
author | hjk <hjk121@nokiamail.com> | 2013-05-27 13:12:44 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-05-27 14:27:16 +0200 |
commit | daad8e238e864e970e0796471f68139e6d25af2e (patch) | |
tree | 7e626a225cc57c3750cc3a5f864f5bdf1b32565d /src/plugins/resourceeditor/resourceeditorw.h | |
parent | 8e50dc182c963ade241c391afc2cd00c4996af77 (diff) |
Editors: Provide a base implementation for duplicate{,Supported}
Helps avoiding trivial re-implementations.
Change-Id: Iaa2e6b92503a2b9553432568c2047c28899c7ea6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorw.h')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorw.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorw.h b/src/plugins/resourceeditor/resourceeditorw.h index 4d7026286f..08a53ad664 100644 --- a/src/plugins/resourceeditor/resourceeditorw.h +++ b/src/plugins/resourceeditor/resourceeditorw.h @@ -83,8 +83,6 @@ public: // IEditor bool createNew(const QString &contents); bool open(QString *errorString, const QString &fileName, const QString &realFileName); - bool duplicateSupported() const { return false; } - Core::IEditor *duplicate(QWidget *) { return 0; } Core::IDocument *document() { return m_resourceDocument; } Core::Id id() const; QString displayName() const { return m_displayName; } |