diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-29 19:05:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-29 20:53:56 +0300 |
commit | 864e023e0faeca5aa662023a54af7e4f9797fafa (patch) | |
tree | ae76f85900e16e2c15d82b661077a265ecdd2276 /src/gui/models | |
parent | 4c4d59b85e3b89812cede60dea8cf0d0185695ae (diff) | |
download | manaverse-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.gz manaverse-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.bz2 manaverse-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.xz manaverse-864e023e0faeca5aa662023a54af7e4f9797fafa.zip |
Move foreach macroses into separate file.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/extendedlistmodel.h | 2 | ||||
-rw-r--r-- | src/gui/models/iconsmodel.h | 2 | ||||
-rw-r--r-- | src/gui/models/itemsmodel.h | 2 | ||||
-rw-r--r-- | src/gui/models/shopitems.cpp | 1 | ||||
-rw-r--r-- | src/gui/models/skillmodel.cpp | 2 | ||||
-rw-r--r-- | src/gui/models/touchactionmodel.cpp | 2 | ||||
-rw-r--r-- | src/gui/models/updatelistmodel.h | 2 |
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 |