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:
Tobias Hunger
2016-01-07 15:22:53 +01:00
parent 079448d342
commit b2b6d3c526
41 changed files with 222 additions and 306 deletions

View File

@@ -27,8 +27,8 @@
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
****************************************************************************/
#ifndef CMAKEPROJECTMANAGER_INTERNAL_CMAKEKITCONFIGWIDGET_H
#define CMAKEPROJECTMANAGER_INTERNAL_CMAKEKITCONFIGWIDGET_H
#ifndef CMAKEKITCONFIGWIDGET_H
#define CMAKEKITCONFIGWIDGET_H
#include <projectexplorer/kitconfigwidget.h>
@@ -70,8 +70,7 @@ private:
void currentCMakeToolChanged(int index);
void manageCMakeTools();
private:
bool m_removingItem;
bool m_removingItem = false;
QComboBox *m_comboBox;
QPushButton *m_manageButton;
};
@@ -79,4 +78,4 @@ private:
} // namespace Internal
} // namespace CMakeProjectManager
#endif // CMAKEPROJECTMANAGER_INTERNAL_CMAKEKITCONFIGWIDGET_H
#endif // CMAKEKITCONFIGWIDGET_H