aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/plaintexteditorfactory.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-05-31 19:35:37 +0200
committerhjk <hjk121@nokiamail.com>2013-08-02 10:21:15 +0200
commitb772001c82579f46b778341a3ad5e444455e7269 (patch)
tree85c49bb225885cafb0e3a8841c73863118d71747 /src/plugins/texteditor/plaintexteditorfactory.h
parentbe112d853a49d7d183819a22d6f776430b0b38e8 (diff)
EditorFactory: Replace some virtual functions with data members
Change-Id: I014cb57460c4e3a36bf7403960908b5ffec867ff Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.h')
-rw-r--r--src/plugins/texteditor/plaintexteditorfactory.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/plugins/texteditor/plaintexteditorfactory.h b/src/plugins/texteditor/plaintexteditorfactory.h
index 712c6701ff7..facf43fa9b7 100644
--- a/src/plugins/texteditor/plaintexteditorfactory.h
+++ b/src/plugins/texteditor/plaintexteditorfactory.h
@@ -44,22 +44,16 @@ class PlainTextEditorFactory : public Core::IEditorFactory
public:
PlainTextEditorFactory(QObject *parent = 0);
- virtual ~PlainTextEditorFactory();
+ ~PlainTextEditorFactory();
- void addMimeType(const QString &type);
- virtual QStringList mimeTypes() const;
- //Core::IEditorFactory
- Core::Id id() const;
- QString displayName() const;
+ using Core::IEditorFactory::addMimeType;
Core::IEditor *createEditor(QWidget *parent);
-
TextEditor::TextEditorActionHandler *actionHandler() const { return m_actionHandler; }
private slots:
void updateEditorInfoBar(Core::IEditor *editor);
private:
- QStringList m_mimeTypes;
TextEditor::TextEditorActionHandler *m_actionHandler;
};