diff options
author | hjk <qtc-committer@nokia.com> | 2011-09-07 09:26:29 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-09-08 17:40:53 +0200 |
commit | 66ab323eb3101b94817b841a906a0222ce7aee1a (patch) | |
tree | 2f0e146f5927c01fc1f2049ed6f4334ed6dbbebf /src/plugins/genericprojectmanager | |
parent | b51524c5c18e7790e7a436e159c1107a4b88d413 (diff) | |
download | qt-creator-66ab323eb3101b94817b841a906a0222ce7aee1a.tar.gz |
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/genericprojectmanager')
-rw-r--r-- | src/plugins/genericprojectmanager/genericprojectfileseditor.cpp | 4 | ||||
-rw-r--r-- | src/plugins/genericprojectmanager/genericprojectfileseditor.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/genericprojectmanager/genericprojectfileseditor.cpp b/src/plugins/genericprojectmanager/genericprojectfileseditor.cpp index 9b0741dd1d..766608746f 100644 --- a/src/plugins/genericprojectmanager/genericprojectfileseditor.cpp +++ b/src/plugins/genericprojectmanager/genericprojectfileseditor.cpp @@ -75,9 +75,9 @@ QStringList ProjectFilesFactory::mimeTypes() const return m_mimeTypes; } -QString ProjectFilesFactory::id() const +Core::Id ProjectFilesFactory::id() const { - return QLatin1String(Constants::FILES_EDITOR_ID); + return Constants::FILES_EDITOR_ID; } QString ProjectFilesFactory::displayName() const diff --git a/src/plugins/genericprojectmanager/genericprojectfileseditor.h b/src/plugins/genericprojectmanager/genericprojectfileseditor.h index cdda0d72b1..6e389a33f6 100644 --- a/src/plugins/genericprojectmanager/genericprojectfileseditor.h +++ b/src/plugins/genericprojectmanager/genericprojectfileseditor.h @@ -63,7 +63,7 @@ public: virtual Core::IEditor *createEditor(QWidget *parent); virtual QStringList mimeTypes() const; - virtual QString id() const; + virtual Core::Id id() const; virtual QString displayName() const; virtual Core::IFile *open(const QString &fileName); |