From 36c45ae7d8d2577a900ec266b64448d4b488013d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Jun 2017 20:13:40 +0300 Subject: Move cast macroses into separate file. --- src/gui/models/beingslistmodel.h | 1 + src/gui/models/extendednamesmodel.cpp | 2 ++ src/gui/models/iconsmodel.h | 1 + src/gui/models/ignorechoiceslistmodel.h | 2 ++ src/gui/models/itemsmodel.h | 1 + src/gui/models/modelistmodel.h | 1 + src/gui/models/namesmodel.cpp | 1 + src/gui/models/serverslistmodel.h | 1 + src/gui/models/shopitems.h | 2 ++ src/gui/models/skillmodel.h | 2 ++ src/gui/models/updatelistmodel.h | 1 + src/gui/models/worldlistmodel.h | 1 + 12 files changed, 16 insertions(+) (limited to 'src/gui/models') diff --git a/src/gui/models/beingslistmodel.h b/src/gui/models/beingslistmodel.h index c2b8def74..a50b20d8d 100644 --- a/src/gui/models/beingslistmodel.h +++ b/src/gui/models/beingslistmodel.h @@ -24,6 +24,7 @@ #include "gui/models/avatarlistmodel.h" +#include "utils/cast.h" #include "utils/dtor.h" #include diff --git a/src/gui/models/extendednamesmodel.cpp b/src/gui/models/extendednamesmodel.cpp index 2c8d7167a..74b52beae 100644 --- a/src/gui/models/extendednamesmodel.cpp +++ b/src/gui/models/extendednamesmodel.cpp @@ -20,6 +20,8 @@ #include "gui/models/extendednamesmodel.h" +#include "utils/cast.h" + #include "debug.h" ExtendedNamesModel::ExtendedNamesModel() : diff --git a/src/gui/models/iconsmodel.h b/src/gui/models/iconsmodel.h index 4028895fb..ce977fb5f 100644 --- a/src/gui/models/iconsmodel.h +++ b/src/gui/models/iconsmodel.h @@ -25,6 +25,7 @@ #include "gui/models/listmodel.h" +#include "utils/cast.h" #include "utils/foreach.h" #include "resources/iteminfo.h" diff --git a/src/gui/models/ignorechoiceslistmodel.h b/src/gui/models/ignorechoiceslistmodel.h index ef537a5c7..6cd8bbe87 100644 --- a/src/gui/models/ignorechoiceslistmodel.h +++ b/src/gui/models/ignorechoiceslistmodel.h @@ -28,6 +28,8 @@ #include "being/playerignorestrategy.h" #include "being/playerrelations.h" +#include "utils/cast.h" + /** * Class for choosing one of the various `what to do when ignoring a player' options */ diff --git a/src/gui/models/itemsmodel.h b/src/gui/models/itemsmodel.h index a49a7cfc5..3b4933ce2 100644 --- a/src/gui/models/itemsmodel.h +++ b/src/gui/models/itemsmodel.h @@ -29,6 +29,7 @@ #include "resources/db/itemdb.h" +#include "utils/cast.h" #include "utils/foreach.h" #include diff --git a/src/gui/models/modelistmodel.h b/src/gui/models/modelistmodel.h index abeb99f68..ed4d449d7 100644 --- a/src/gui/models/modelistmodel.h +++ b/src/gui/models/modelistmodel.h @@ -25,6 +25,7 @@ #include "gui/models/listmodel.h" +#include "utils/cast.h" #include "utils/stringvector.h" #include "localconsts.h" diff --git a/src/gui/models/namesmodel.cpp b/src/gui/models/namesmodel.cpp index 5a351f471..ee26dbdaa 100644 --- a/src/gui/models/namesmodel.cpp +++ b/src/gui/models/namesmodel.cpp @@ -20,6 +20,7 @@ #include "gui/models/namesmodel.h" +#include "utils/cast.h" #include "utils/gettext.h" #include "debug.h" diff --git a/src/gui/models/serverslistmodel.h b/src/gui/models/serverslistmodel.h index 206daa02a..8b558d17a 100644 --- a/src/gui/models/serverslistmodel.h +++ b/src/gui/models/serverslistmodel.h @@ -31,6 +31,7 @@ #include "gui/models/listmodel.h" +#include "utils/cast.h" #include "utils/gettext.h" /** diff --git a/src/gui/models/shopitems.h b/src/gui/models/shopitems.h index 3b6d611cb..d162ce524 100644 --- a/src/gui/models/shopitems.h +++ b/src/gui/models/shopitems.h @@ -29,6 +29,8 @@ #include "gui/models/listmodel.h" +#include "utils/cast.h" + #include #include "localconsts.h" diff --git a/src/gui/models/skillmodel.h b/src/gui/models/skillmodel.h index c3331ed30..6c7792508 100644 --- a/src/gui/models/skillmodel.h +++ b/src/gui/models/skillmodel.h @@ -25,6 +25,8 @@ #include "gui/models/listmodel.h" +#include "utils/cast.h" + #include "resources/skill/skillinfo.h" #include "localconsts.h" diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h index 74bd44af1..f50072112 100644 --- a/src/gui/models/updatelistmodel.h +++ b/src/gui/models/updatelistmodel.h @@ -27,6 +27,7 @@ #include "net/serverinfo.h" +#include "utils/cast.h" #include "utils/foreach.h" #include "localconsts.h" diff --git a/src/gui/models/worldlistmodel.h b/src/gui/models/worldlistmodel.h index f22c808bb..9ae5a5e22 100644 --- a/src/gui/models/worldlistmodel.h +++ b/src/gui/models/worldlistmodel.h @@ -25,6 +25,7 @@ #include "gui/models/listmodel.h" +#include "utils/cast.h" #include "utils/stringutils.h" #include "net/worldinfo.h" -- cgit v1.2.3-70-g09d2