forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
****************************************************************************/
|
||||
#ifndef CMAKEPROJECTMANAGER_INTERNAL_CMAKESETTINGSPAGE_H
|
||||
#define CMAKEPROJECTMANAGER_INTERNAL_CMAKESETTINGSPAGE_H
|
||||
#ifndef CMAKESETTINGSPAGE_H
|
||||
#define CMAKESETTINGSPAGE_H
|
||||
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
#include <utils/pathchooser.h>
|
||||
@@ -48,17 +48,16 @@ class CMakeSettingsPage : public Core::IOptionsPage
|
||||
|
||||
public:
|
||||
CMakeSettingsPage();
|
||||
~CMakeSettingsPage();
|
||||
|
||||
QWidget *widget();
|
||||
void apply();
|
||||
void finish();
|
||||
QWidget *widget() override;
|
||||
void apply() override;
|
||||
void finish() override;
|
||||
|
||||
private:
|
||||
CMakeToolConfigWidget *m_widget;
|
||||
CMakeToolConfigWidget *m_widget = 0;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CMakeProjectManager
|
||||
|
||||
#endif // CMAKEPROJECTMANAGER_INTERNAL_CMAKESETTINGSPAGE_H
|
||||
#endif // CMAKESETTINGSPAGE_H
|
||||
|
||||
Reference in New Issue
Block a user