diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2020-04-17 15:30:05 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2020-04-20 10:05:24 +0000 |
commit | 5350288e45d26b3e14ffb99d7f0b342fe5f2076a (patch) | |
tree | 8a0ffc34cf79cbbe863b060b8bf1379c7d18e407 /src/plugins/cmakeprojectmanager/cmakeprojectplugin.h | |
parent | 9f981e7e239c1b188b320017f064c633795714ae (diff) |
CMake: Fix includes all over the CMake plugin
Keep internals internal, remove some unnecessary includes, add
some that should have been there.
This reduces the number of files that get rebuild when working
on CMake internals from over 1000 to about 200.
This patch also moves some code around that ended up being
in the wrong file.
Change-Id: Icd7366ac760dc85031040720418fbb16336dce9b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectplugin.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectplugin.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h index c8a50219f41..84c13c3bd99 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h @@ -25,21 +25,21 @@ #pragma once -#include "cmakespecificsettingspage.h" - #include <extensionsystem/iplugin.h> namespace CMakeProjectManager { namespace Internal { -class CMakeProjectPlugin : public ExtensionSystem::IPlugin +class CMakeSpecificSettings; + +class CMakeProjectPlugin final : public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "CMakeProjectManager.json") public: static CMakeSpecificSettings *projectTypeSpecificSettings(); - ~CMakeProjectPlugin() override; + ~CMakeProjectPlugin(); #ifdef WITH_TESTS private slots: @@ -60,8 +60,8 @@ private slots: #endif private: - bool initialize(const QStringList &arguments, QString *errorMessage) override; - void extensionsInitialized() override; + bool initialize(const QStringList &arguments, QString *errorMessage); + void extensionsInitialized(); void updateContextActions(); |