summaryrefslogtreecommitdiff
path: root/src/plugins/resourceeditor/resourceeditorfactory.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-01-20 15:31:33 +0100
committerhjk <qtc-committer@nokia.com>2009-01-20 15:31:33 +0100
commit897c05f57c64d07c1361c7170495641ece42c7c3 (patch)
tree8ccf5b7874d25af2bc47a3fb6ea1cb63b93a6a72 /src/plugins/resourceeditor/resourceeditorfactory.h
parent67437acf498fe74baadd07a59a8180dca8314f43 (diff)
downloadqt-creator-897c05f57c64d07c1361c7170495641ece42c7c3.tar.gz
replace Core::ICore::instance()->pluginManager() by ExtensionSystem::PluginManager::instance()
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorfactory.h')
-rw-r--r--src/plugins/resourceeditor/resourceeditorfactory.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorfactory.h b/src/plugins/resourceeditor/resourceeditorfactory.h
index 4097fdecac..0c4ab63c90 100644
--- a/src/plugins/resourceeditor/resourceeditorfactory.h
+++ b/src/plugins/resourceeditor/resourceeditorfactory.h
@@ -38,10 +38,6 @@
#include <QtCore/QStringList>
-namespace Core {
-class ICore;
-} // namespace Core
-
namespace ResourceEditor {
namespace Internal {
@@ -54,11 +50,11 @@ class ResourceEditorFactory : public Core::IEditorFactory
public:
typedef QList<int> Context;
- ResourceEditorFactory(Core::ICore *core, ResourceEditorPlugin *plugin);
+ explicit ResourceEditorFactory(ResourceEditorPlugin *plugin);
virtual QStringList mimeTypes() const;
- //EditorFactory
+ // IEditorFactory
QString kind() const;
Core::IFile *open(const QString &fileName);
Core::IEditor *createEditor(QWidget *parent);
@@ -68,7 +64,6 @@ private:
const QString m_kind;
Context m_context;
- Core::ICore *m_core;
ResourceEditorPlugin *m_plugin;
};