diff options
author | hjk <hjk@qt.io> | 2018-04-26 17:42:07 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-04-27 12:12:37 +0000 |
commit | 50f2bcd9aeac17450847dd63ce595372317dbfcf (patch) | |
tree | c3e184ff57c0e1ec0fc168917f51fc70863124a5 /src/plugins/pythoneditor/pythoneditorplugin.h | |
parent | f0baf01a2e2089c00cda6db42a3131c0a1af8cf1 (diff) | |
download | qt-creator-50f2bcd9aeac17450847dd63ce595372317dbfcf.tar.gz |
Python: Plugin code cosmetics
Use the common pattern for PythonEditorPluginPrivate.
Change-Id: Icec8d975e0ab921be7121d123af4dddecd7d0384
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.h')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.h b/src/plugins/pythoneditor/pythoneditorplugin.h index 26c86fe86c..d5b9f05acc 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.h +++ b/src/plugins/pythoneditor/pythoneditorplugin.h @@ -37,10 +37,13 @@ class PythonEditorPlugin : public ExtensionSystem::IPlugin public: PythonEditorPlugin() = default; - ~PythonEditorPlugin() override; + ~PythonEditorPlugin() final; - bool initialize(const QStringList &arguments, QString *errorMessage) override; - void extensionsInitialized() override; +private: + bool initialize(const QStringList &arguments, QString *errorMessage) final; + void extensionsInitialized() final; + + class PythonEditorPluginPrivate *d = nullptr; }; } // namespace Internal |