From 806da856122952febece019111037702b51dd9bb Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Fri, 15 Jul 2016 13:09:44 +0200
Subject: [PATCH] added #include <QStringList> here and there

---
 GUI/coregui/Models/AngleProperty.h          | 2 +-
 GUI/coregui/Models/ComboProperty.h          | 1 +
 GUI/coregui/Models/FitParameterProxyModel.h | 1 +
 GUI/coregui/Models/GroupProperty.h          | 2 +-
 GUI/coregui/Models/SessionItem.h            | 2 +-
 GUI/coregui/Models/SessionModel.h           | 3 ++-
 GUI/coregui/mainwindow/projectmanager.h     | 2 +-
 GUI/coregui/utils/GUIHelpers.h              | 2 +-
 GUI/coregui/utils/WarningMessageService.h   | 1 +
 9 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/GUI/coregui/Models/AngleProperty.h b/GUI/coregui/Models/AngleProperty.h
index 792fcc4191a..f9ce4d8bd04 100644
--- a/GUI/coregui/Models/AngleProperty.h
+++ b/GUI/coregui/Models/AngleProperty.h
@@ -17,8 +17,8 @@
 #ifndef ANGLEPROPERTY_H
 #define ANGLEPROPERTY_H
 
-
 #include <QVariant>
+#include <QStringList>
 
 //! The AngleProperty keeps angle value together with units (radians, degrees)
 //! in which the angle should be presented to the user.
diff --git a/GUI/coregui/Models/ComboProperty.h b/GUI/coregui/Models/ComboProperty.h
index f4c98754bb0..5553ac7d67a 100644
--- a/GUI/coregui/Models/ComboProperty.h
+++ b/GUI/coregui/Models/ComboProperty.h
@@ -18,6 +18,7 @@
 #define COMBOPROPERTY_H
 
 #include <QVariant>
+#include <QStringList>
 
 //! The ComboProperty defines SessionItem's property with a value
 //! from predefined list.
diff --git a/GUI/coregui/Models/FitParameterProxyModel.h b/GUI/coregui/Models/FitParameterProxyModel.h
index 48b5bb36bbb..e94d5d5eba6 100644
--- a/GUI/coregui/Models/FitParameterProxyModel.h
+++ b/GUI/coregui/Models/FitParameterProxyModel.h
@@ -18,6 +18,7 @@
 #define FITPARAMETERPROXYMODEL_H
 
 #include <QAbstractItemModel>
+#include <QStringList>
 
 class SessionModel;
 class FitParameterContainerItem;
diff --git a/GUI/coregui/Models/GroupProperty.h b/GUI/coregui/Models/GroupProperty.h
index 122839c2b01..34e5386c884 100644
--- a/GUI/coregui/Models/GroupProperty.h
+++ b/GUI/coregui/Models/GroupProperty.h
@@ -17,8 +17,8 @@
 #ifndef GROUPPROPERTY_H
 #define GROUPPROPERTY_H
 
-
 #include <QSharedPointer>
+#include <QStringList>
 
 class SessionItem;
 
diff --git a/GUI/coregui/Models/SessionItem.h b/GUI/coregui/Models/SessionItem.h
index 9c0777dd3d7..e2790ab3ae6 100644
--- a/GUI/coregui/Models/SessionItem.h
+++ b/GUI/coregui/Models/SessionItem.h
@@ -20,7 +20,7 @@
 #include "item_constants.h"
 #include "ModelMapper.h"
 #include "AttLimits.h"
-
+#include <QStringList>
 #include <memory>
 
 Q_DECLARE_METATYPE(AttLimits)
diff --git a/GUI/coregui/Models/SessionModel.h b/GUI/coregui/Models/SessionModel.h
index 9a9c57b3ada..cae9cbfcb1f 100644
--- a/GUI/coregui/Models/SessionModel.h
+++ b/GUI/coregui/Models/SessionModel.h
@@ -17,9 +17,10 @@
 #ifndef SESSIONMODEL_H
 #define SESSIONMODEL_H
 
-#include <QtCore/QXmlStreamWriter>
 #include "SessionItem.h"
 #include "SessionXML.h"
+#include <QtCore/QXmlStreamWriter>
+#include <QStringList>
 
 class IconProvider;
 
diff --git a/GUI/coregui/mainwindow/projectmanager.h b/GUI/coregui/mainwindow/projectmanager.h
index 05f3e415741..3866f3d3bc0 100644
--- a/GUI/coregui/mainwindow/projectmanager.h
+++ b/GUI/coregui/mainwindow/projectmanager.h
@@ -18,7 +18,7 @@
 #define PROJECTMANAGER_H
 
 #include <QObject>
-#include <QtCore/QStringList> // need detected by TeamCity
+#include <QStringList> // need detected by TeamCity
 
 class MainWindow;
 class ProjectDocument;
diff --git a/GUI/coregui/utils/GUIHelpers.h b/GUI/coregui/utils/GUIHelpers.h
index a6d58e933af..fe2f9f93915 100644
--- a/GUI/coregui/utils/GUIHelpers.h
+++ b/GUI/coregui/utils/GUIHelpers.h
@@ -18,6 +18,7 @@
 #define GUIHELPERS_H
 
 #include <QWidget>
+#include <QStringList>
 #include <memory>
 
 class JobItem;
@@ -77,4 +78,3 @@ template<class T, class... Ts> std::unique_ptr<T> make_unique(Ts&&... params)
 } // namespace GUIHelpers
 
 #endif // GUIHELPERS_H
-
diff --git a/GUI/coregui/utils/WarningMessageService.h b/GUI/coregui/utils/WarningMessageService.h
index 58230725bc9..b7dc3defc0d 100644
--- a/GUI/coregui/utils/WarningMessageService.h
+++ b/GUI/coregui/utils/WarningMessageService.h
@@ -19,6 +19,7 @@
 
 #include "IMessageService.h"
 #include <QMap>
+#include <QStringList> // need detected by TeamCity
 
 class MessageContainer;
 class QObject;
-- 
GitLab