From 50f2bcd9aeac17450847dd63ce595372317dbfcf Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 26 Apr 2018 17:42:07 +0200 Subject: Python: Plugin code cosmetics Use the common pattern for PythonEditorPluginPrivate. Change-Id: Icec8d975e0ab921be7121d123af4dddecd7d0384 Reviewed-by: Christian Stenger --- src/plugins/pythoneditor/pythoneditorplugin.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/plugins/pythoneditor/pythoneditorplugin.h') 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 -- cgit v1.2.1