diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-01-07 15:22:53 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-01-08 12:17:41 +0000 |
commit | b2b6d3c526a18419a5fc986a3ce67be25deecbf4 (patch) | |
tree | 004ba8c751ca2e49f5022bb5079381d4e3c775e7 /src/plugins/cmakeprojectmanager/cmakeprojectplugin.h | |
parent | 079448d342b3a57e09d8bbf0d4d4e3dcab76b5fa (diff) |
CMake: Semi-automatic cleanups
* Shorten header guards
* Use override and auto where possible
* Remove useless destructors, etc.
* Remove private slots sections, unify private: sections
* Use member initialization where it makes sense
Change-Id: I00eaf6d706adc16859176d1b68c631d3336bb39f
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectplugin.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectplugin.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h index 11929d55f10..1d79738cb16 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h @@ -41,19 +41,15 @@ class CMakeToolManager; namespace Internal { -class CMakeProjectPlugin - : public ExtensionSystem::IPlugin +class CMakeProjectPlugin : public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "CMakeProjectManager.json") public: - CMakeProjectPlugin(); - ~CMakeProjectPlugin(); + bool initialize(const QStringList &arguments, QString *errorMessage) override; - bool initialize(const QStringList &arguments, QString *errorMessage); - - void extensionsInitialized(); + void extensionsInitialized() override; private slots: #ifdef WITH_TESTS |