CppTools: Move CppFilesSettingsPage closer to new setup

Including some drive-by cosmetics.

Change-Id: Id9cdba68545907b099a70944c83fe17ad3c0b2a0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-02-04 16:24:37 +01:00
parent 674d342aa9
commit ea6da69e8b
5 changed files with 103 additions and 144 deletions

View File

@@ -29,24 +29,15 @@
#include <projectexplorer/projectexplorer.h>
#include <QSharedPointer>
QT_BEGIN_NAMESPACE
class QFileInfo;
class QDir;
QT_END_NAMESPACE
namespace Utils { class FilePath; }
namespace CppTools {
class CppToolsSettings;
class CppCodeModelSettings;
namespace Internal {
struct CppFileSettings;
class CppToolsPluginPrivate;
class CppToolsPlugin final : public ExtensionSystem::IPlugin
{
@@ -180,9 +171,8 @@ private slots:
#endif
private:
friend class CppToolsPluginPrivate;
CppToolsPluginPrivate *d = nullptr;
QSharedPointer<CppFileSettings> m_fileSettings;
CppFileSettings *fileSettings();
class CppToolsPluginPrivate *d = nullptr;
};
} // namespace Internal