Cmake: Use new settings page convenience for CMakeSettings

Following the pattern introduced in 809e62e373.

Change-Id: I3fc42afcdfd71634bd0749cb970c4bf94ed7932a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-01-07 14:59:32 +01:00
parent 2863772934
commit 64380e1177
2 changed files with 6 additions and 36 deletions

View File

@@ -26,30 +26,16 @@
#pragma once
#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/pathchooser.h>
#include <QPointer>
#include "cmaketool.h"
namespace CMakeProjectManager {
namespace Internal {
class CMakeToolConfigWidget;
class CMakeSettingsPage : public Core::IOptionsPage
{
Q_OBJECT
public:
CMakeSettingsPage();
QWidget *widget() override;
void apply() override;
void finish() override;
private:
CMakeToolConfigWidget *m_widget = nullptr;
};
} // namespace Internal