diff options
author | hjk <hjk121@nokiamail.com> | 2014-08-22 19:14:48 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-08-25 15:09:29 +0200 |
commit | f9f5fdcf2b6563d5bbbf61a1a5987bf28cc67825 (patch) | |
tree | 8f32eda94bf17607f0a8fbf97f6635bc067b5b72 /src/plugins/texteditor/plaintexteditorfactory.h | |
parent | 550db7d1d118444f33367f50519e43fccee33f03 (diff) |
TextEditor: Re-organize Plain text editor setup
Change-Id: I202e66a9cd295a85e3eea31177280e2c5d409ced
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.h')
-rw-r--r-- | src/plugins/texteditor/plaintexteditorfactory.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/plugins/texteditor/plaintexteditorfactory.h b/src/plugins/texteditor/plaintexteditorfactory.h index 8633fc89498..3ade4c07d56 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.h +++ b/src/plugins/texteditor/plaintexteditorfactory.h @@ -30,25 +30,17 @@ #ifndef PLAINTEXTEDITORFACTORY_H #define PLAINTEXTEDITORFACTORY_H -#include <coreplugin/editormanager/ieditorfactory.h> - -#include <QStringList> +#include <texteditor/basetexteditor.h> namespace TextEditor { namespace Internal { -class PlainTextEditorFactory : public Core::IEditorFactory +class PlainTextEditorFactory : public TextEditor::BaseTextEditorFactory { Q_OBJECT public: - PlainTextEditorFactory(QObject *parent = 0); - - using Core::IEditorFactory::addMimeType; - Core::IEditor *createEditor(); - -private slots: - void updateEditorInfoBar(Core::IEditor *editor); + PlainTextEditorFactory(); }; } // namespace Internal |