aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/plaintexteditorfactory.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-09-07 09:26:29 +0200
committerhjk <qthjk@ovi.com>2011-09-08 17:40:53 +0200
commit66ab323eb3101b94817b841a906a0222ce7aee1a (patch)
tree2f0e146f5927c01fc1f2049ed6f4334ed6dbbebf /src/plugins/texteditor/plaintexteditorfactory.h
parentb51524c5c18e7790e7a436e159c1107a4b88d413 (diff)
use Core::Id for IEditorFactory::id
Change-Id: Iefd67a0461d9016b8ba0f3371df7ec6d42e188c5 Reviewed-on: http://codereview.qt-project.org/4321 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.h')
-rw-r--r--src/plugins/texteditor/plaintexteditorfactory.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/texteditor/plaintexteditorfactory.h b/src/plugins/texteditor/plaintexteditorfactory.h
index 7398e8aed3b..249fe0c0184 100644
--- a/src/plugins/texteditor/plaintexteditorfactory.h
+++ b/src/plugins/texteditor/plaintexteditorfactory.h
@@ -34,12 +34,8 @@
#define PLAINTEXTEDITORFACTORY_H
#include <coreplugin/editormanager/ieditorfactory.h>
-#include <QtCore/QStringList>
-namespace Core {
-class IEditor;
-class IFile;
-}
+#include <QtCore/QStringList>
namespace TextEditor {
class TextEditorActionHandler;
@@ -56,7 +52,7 @@ public:
void addMimeType(const QString &type);
virtual QStringList mimeTypes() const;
//Core::IEditorFactory
- QString id() const;
+ Core::Id id() const;
QString displayName() const;
Core::IFile *open(const QString &fileName);