summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 19:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:56 +0300
commit864e023e0faeca5aa662023a54af7e4f9797fafa (patch)
treeae76f85900e16e2c15d82b661077a265ecdd2276 /src/gui/models
parent4c4d59b85e3b89812cede60dea8cf0d0185695ae (diff)
downloadplus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.gz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.bz2
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.xz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.zip
Move foreach macroses into separate file.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/extendedlistmodel.h2
-rw-r--r--src/gui/models/iconsmodel.h2
-rw-r--r--src/gui/models/itemsmodel.h2
-rw-r--r--src/gui/models/shopitems.cpp1
-rw-r--r--src/gui/models/skillmodel.cpp2
-rw-r--r--src/gui/models/touchactionmodel.cpp2
-rw-r--r--src/gui/models/updatelistmodel.h2
7 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/models/extendedlistmodel.h b/src/gui/models/extendedlistmodel.h
index 981a96897..307b4af80 100644
--- a/src/gui/models/extendedlistmodel.h
+++ b/src/gui/models/extendedlistmodel.h
@@ -23,6 +23,8 @@
#include "gui/models/listmodel.h"
+#include "utils/foreach.h"
+
#include "resources/image/image.h"
class ExtendedListModel notfinal : public ListModel
diff --git a/src/gui/models/iconsmodel.h b/src/gui/models/iconsmodel.h
index 1e4709554..4028895fb 100644
--- a/src/gui/models/iconsmodel.h
+++ b/src/gui/models/iconsmodel.h
@@ -25,6 +25,8 @@
#include "gui/models/listmodel.h"
+#include "utils/foreach.h"
+
#include "resources/iteminfo.h"
#include "resources/db/itemdb.h"
diff --git a/src/gui/models/itemsmodel.h b/src/gui/models/itemsmodel.h
index 8be90ab12..a49a7cfc5 100644
--- a/src/gui/models/itemsmodel.h
+++ b/src/gui/models/itemsmodel.h
@@ -29,6 +29,8 @@
#include "resources/db/itemdb.h"
+#include "utils/foreach.h"
+
#include <list>
#include "localconsts.h"
diff --git a/src/gui/models/shopitems.cpp b/src/gui/models/shopitems.cpp
index a5c05388b..763b75390 100644
--- a/src/gui/models/shopitems.cpp
+++ b/src/gui/models/shopitems.cpp
@@ -25,6 +25,7 @@
#include "resources/item/shopitem.h"
#include "utils/dtor.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/gui/models/skillmodel.cpp b/src/gui/models/skillmodel.cpp
index 102956897..0dcf9cedd 100644
--- a/src/gui/models/skillmodel.cpp
+++ b/src/gui/models/skillmodel.cpp
@@ -22,6 +22,8 @@
#include "gui/models/skillmodel.h"
+#include "utils/foreach.h"
+
#include "resources/skill/skilldata.h"
#include "debug.h"
diff --git a/src/gui/models/touchactionmodel.cpp b/src/gui/models/touchactionmodel.cpp
index 983fc7065..7f6b68ef7 100644
--- a/src/gui/models/touchactionmodel.cpp
+++ b/src/gui/models/touchactionmodel.cpp
@@ -23,6 +23,8 @@
#include "gui/models/touchactionmodel.h"
+#include "utils/foreach.h"
+
#include <algorithm>
#include "debug.h"
diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h
index 8156ec145..74bd44af1 100644
--- a/src/gui/models/updatelistmodel.h
+++ b/src/gui/models/updatelistmodel.h
@@ -27,6 +27,8 @@
#include "net/serverinfo.h"
+#include "utils/foreach.h"
+
#include "localconsts.h"
class UpdateListModel final : public ListModel