summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-29 13:40:20 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-29 17:58:31 (GMT)
commit180538c70634dd6dc7fc68b4afbc1cd288c5b5c6 (patch)
tree5467b11d2718a4f0b7f32248466a38403df84d6c /Source/QtDialog
parent0e7bca923e65df8fda37dd50ca68c7207eb3acbe (diff)
downloadCMake-180538c70634dd6dc7fc68b4afbc1cd288c5b5c6.zip
CMake-180538c70634dd6dc7fc68b4afbc1cd288c5b5c6.tar.gz
CMake-180538c70634dd6dc7fc68b4afbc1cd288c5b5c6.tar.bz2
Source: Stabilize include order
Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/AddCacheEntry.cxx1
-rw-r--r--Source/QtDialog/AddCacheEntry.h3
-rw-r--r--Source/QtDialog/CMakeSetup.cxx1
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx1
-rw-r--r--Source/QtDialog/CMakeSetupDialog.h1
-rw-r--r--Source/QtDialog/Compilers.h1
-rw-r--r--Source/QtDialog/FirstConfigure.cxx1
-rw-r--r--Source/QtDialog/FirstConfigure.h2
-rw-r--r--Source/QtDialog/QCMake.h5
-rw-r--r--Source/QtDialog/QCMakeCacheView.h1
-rw-r--r--Source/QtDialog/QCMakeWidgets.h1
11 files changed, 15 insertions, 3 deletions
diff --git a/Source/QtDialog/AddCacheEntry.cxx b/Source/QtDialog/AddCacheEntry.cxx
index 3881045..b575f75 100644
--- a/Source/QtDialog/AddCacheEntry.cxx
+++ b/Source/QtDialog/AddCacheEntry.cxx
@@ -11,6 +11,7 @@
============================================================================*/
#include "AddCacheEntry.h"
+
#include <QMetaProperty>
#include <QCompleter>
diff --git a/Source/QtDialog/AddCacheEntry.h b/Source/QtDialog/AddCacheEntry.h
index 38c3a74..c327915 100644
--- a/Source/QtDialog/AddCacheEntry.h
+++ b/Source/QtDialog/AddCacheEntry.h
@@ -13,11 +13,12 @@
#ifndef AddCacheEntry_h
#define AddCacheEntry_h
+#include "QCMake.h"
+
#include <QWidget>
#include <QCheckBox>
#include <QStringList>
-#include "QCMake.h"
#include "ui_AddCacheEntry.h"
class AddCacheEntry : public QWidget, public Ui::AddCacheEntry
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index cff4f6f..72adb8d 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -10,6 +10,7 @@
See the License for more information.
============================================================================*/
#include "QCMake.h" // include to disable MS warnings
+
#include <QApplication>
#include <QDir>
#include <QTranslator>
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 2fc4faf..f25f402 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -11,6 +11,7 @@
============================================================================*/
#include "CMakeSetupDialog.h"
+
#include <QFileDialog>
#include <QProgressBar>
#include <QMessageBox>
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h
index 4b53b1c..eaac61c 100644
--- a/Source/QtDialog/CMakeSetupDialog.h
+++ b/Source/QtDialog/CMakeSetupDialog.h
@@ -14,6 +14,7 @@
#define CMakeSetupDialog_h
#include "QCMake.h"
+
#include <QMainWindow>
#include <QThread>
#include <QEventLoop>
diff --git a/Source/QtDialog/Compilers.h b/Source/QtDialog/Compilers.h
index 3f7b834..ee89886 100644
--- a/Source/QtDialog/Compilers.h
+++ b/Source/QtDialog/Compilers.h
@@ -4,6 +4,7 @@
#define COMPILERS_HPP
#include <QWidget>
+
#include <ui_Compilers.h>
class Compilers : public QWidget, public Ui::Compilers
diff --git a/Source/QtDialog/FirstConfigure.cxx b/Source/QtDialog/FirstConfigure.cxx
index 61aad72..64fe676 100644
--- a/Source/QtDialog/FirstConfigure.cxx
+++ b/Source/QtDialog/FirstConfigure.cxx
@@ -1,5 +1,6 @@
#include "FirstConfigure.h"
+
#include "Compilers.h"
#include <QSettings>
diff --git a/Source/QtDialog/FirstConfigure.h b/Source/QtDialog/FirstConfigure.h
index 09952b6..3c574d4 100644
--- a/Source/QtDialog/FirstConfigure.h
+++ b/Source/QtDialog/FirstConfigure.h
@@ -4,7 +4,9 @@
#include <QWizard>
#include <QWizardPage>
+
#include "cmake.h"
+
#include "ui_Compilers.h"
#include "ui_CrossCompiler.h"
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h
index 8942e7c..ca6f0f4 100644
--- a/Source/QtDialog/QCMake.h
+++ b/Source/QtDialog/QCMake.h
@@ -12,6 +12,9 @@
#ifndef QCMake_h
#define QCMake_h
+
+#include "cmake.h"
+
#ifdef _MSC_VER
#pragma warning ( disable : 4127 )
#pragma warning ( disable : 4512 )
@@ -27,8 +30,6 @@
#include <QMetaType>
#include <QAtomicInt>
-#include "cmake.h"
-
/// struct to represent cmake properties in Qt
/// Value is of type String or Bool
struct QCMakeProperty
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h
index 41f0bd8..5ac0966 100644
--- a/Source/QtDialog/QCMakeCacheView.h
+++ b/Source/QtDialog/QCMakeCacheView.h
@@ -14,6 +14,7 @@
#define QCMakeCacheView_h
#include "QCMake.h"
+
#include <QTreeView>
#include <QSet>
#include <QStandardItemModel>
diff --git a/Source/QtDialog/QCMakeWidgets.h b/Source/QtDialog/QCMakeWidgets.h
index 8f58df2..2207282 100644
--- a/Source/QtDialog/QCMakeWidgets.h
+++ b/Source/QtDialog/QCMakeWidgets.h
@@ -16,6 +16,7 @@
#include <QLineEdit>
#include <QComboBox>
#include <QCompleter>
+
class QToolButton;
// common widgets for Qt based CMake