summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorplugin.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-08-20 15:05:32 +0200
committerhjk <hjk121@nokiamail.com>2014-08-20 15:15:26 +0200
commitc35e9286506508002cf0c2ed7fa90d9ba57591d1 (patch)
tree94429b297bb82e6439c1d096adb21891ff609f2e /src/plugins/pythoneditor/pythoneditorplugin.h
parentddf1de387bcba5472d7f2b3d41abf57191eb08f2 (diff)
downloadqt-creator-c35e9286506508002cf0c2ed7fa90d9ba57591d1.tar.gz
PythonEditor: Convert to new editor setup scheme
Change-Id: Ibf886c891bb1884d6bc3c08bfe83c4978d17b2f6 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.h')
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.h b/src/plugins/pythoneditor/pythoneditorplugin.h
index aa9457f6f6..34a9518507 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.h
+++ b/src/plugins/pythoneditor/pythoneditorplugin.h
@@ -36,13 +36,6 @@
namespace PythonEditor {
namespace Internal {
-class EditorFactory;
-class PythonEditorWidget;
-
-/**
- \class PyEditor::Plugin implements ExtensionSystem::IPlugin
- Singletone object - PyEditor plugin
- */
class PythonEditorPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
@@ -53,16 +46,13 @@ public:
virtual ~PythonEditorPlugin();
virtual bool initialize(const QStringList &arguments, QString *errorMessage);
- virtual void extensionsInitialized();
- static PythonEditorPlugin *instance() { return m_instance; }
+ virtual void extensionsInitialized() {}
static QSet<QString> keywords();
static QSet<QString> magics();
static QSet<QString> builtins();
private:
- static PythonEditorPlugin *m_instance;
- EditorFactory *m_factory;
QSet<QString> m_keywords;
QSet<QString> m_magics;
QSet<QString> m_builtins;