summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-16 23:58:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-17 14:02:30 +0300
commit3f7f55d24f8adbfaa6e534734e955fb3c37792ff (patch)
tree30c90bdab5d99a6e0e75dc5ee593f641bd1ad88f /src/gui/models
parentdeec925bcd6ef5ea611082263dc0a7e4904345d2 (diff)
downloadmanaplus-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.gz
manaplus-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.bz2
manaplus-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.xz
manaplus-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.zip
Remove useless includes from .h files.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/avatarlistmodel.h2
-rw-r--r--src/gui/models/beingslistmodel.h2
-rw-r--r--src/gui/models/ignorechoiceslistmodel.h2
-rw-r--r--src/gui/models/itemsmodel.h2
-rw-r--r--src/gui/models/serverslistmodel.h5
-rw-r--r--src/gui/models/shopitems.h1
-rw-r--r--src/gui/models/skillmodel.h2
-rw-r--r--src/gui/models/sortlistmodelinv.h2
-rw-r--r--src/gui/models/updatelistmodel.h2
-rw-r--r--src/gui/models/userstablemodel.h1
10 files changed, 0 insertions, 21 deletions
diff --git a/src/gui/models/avatarlistmodel.h b/src/gui/models/avatarlistmodel.h
index bda7b686e..ec11b40ad 100644
--- a/src/gui/models/avatarlistmodel.h
+++ b/src/gui/models/avatarlistmodel.h
@@ -26,8 +26,6 @@
#include "gui/models/listmodel.h"
-#include <string>
-
class AvatarListModel notfinal : public ListModel
{
public:
diff --git a/src/gui/models/beingslistmodel.h b/src/gui/models/beingslistmodel.h
index 5bedc9756..7e8caced2 100644
--- a/src/gui/models/beingslistmodel.h
+++ b/src/gui/models/beingslistmodel.h
@@ -26,8 +26,6 @@
#include "utils/dtor.h"
-#include <vector>
-
class BeingsListModel final : public AvatarListModel
{
public:
diff --git a/src/gui/models/ignorechoiceslistmodel.h b/src/gui/models/ignorechoiceslistmodel.h
index eb230b4ce..c6dea9603 100644
--- a/src/gui/models/ignorechoiceslistmodel.h
+++ b/src/gui/models/ignorechoiceslistmodel.h
@@ -23,8 +23,6 @@
#ifndef GUI_MODELS_IGNORECHOICESLISTMODEL_H
#define GUI_MODELS_IGNORECHOICESLISTMODEL_H
-#include "being/playerrelations.h"
-
#include "gui/models/playerrelationlistmodel.h"
#include "being/playerignorestrategy.h"
diff --git a/src/gui/models/itemsmodel.h b/src/gui/models/itemsmodel.h
index eb026febe..1f88efe9f 100644
--- a/src/gui/models/itemsmodel.h
+++ b/src/gui/models/itemsmodel.h
@@ -29,8 +29,6 @@
#include "resources/db/itemdb.h"
-#include "utils/gettext.h"
-
#include <list>
#include "localconsts.h"
diff --git a/src/gui/models/serverslistmodel.h b/src/gui/models/serverslistmodel.h
index 743e8da07..864cc70c6 100644
--- a/src/gui/models/serverslistmodel.h
+++ b/src/gui/models/serverslistmodel.h
@@ -23,8 +23,6 @@
#ifndef GUI_MODELS_SERVERSLISTMODEL_H
#define GUI_MODELS_SERVERSLISTMODEL_H
-#include "net/serverinfo.h"
-
#include "gui/gui.h"
#include "gui/fonts/font.h"
@@ -33,9 +31,6 @@
#include "gui/models/listmodel.h"
-#include <string>
-#include <vector>
-
/**
* Server and Port List Model
*/
diff --git a/src/gui/models/shopitems.h b/src/gui/models/shopitems.h
index d3d4a44fc..880bc4f71 100644
--- a/src/gui/models/shopitems.h
+++ b/src/gui/models/shopitems.h
@@ -25,7 +25,6 @@
#include "gui/models/listmodel.h"
-#include <string>
#include <vector>
#include "localconsts.h"
diff --git a/src/gui/models/skillmodel.h b/src/gui/models/skillmodel.h
index e4a4949a5..cf5a4fb6d 100644
--- a/src/gui/models/skillmodel.h
+++ b/src/gui/models/skillmodel.h
@@ -26,8 +26,6 @@
#include "gui/widgets/skillinfo.h"
#include "gui/models/listmodel.h"
-#include <string>
-
#include "localconsts.h"
class SkillModel final : public ListModel
diff --git a/src/gui/models/sortlistmodelinv.h b/src/gui/models/sortlistmodelinv.h
index d29ff201c..4711d4607 100644
--- a/src/gui/models/sortlistmodelinv.h
+++ b/src/gui/models/sortlistmodelinv.h
@@ -26,8 +26,6 @@
#include "utils/gettext.h"
-#include <string>
-
static const char *const SORT_NAME_INVENTORY[6] =
{
// TRANSLATORS: inventory sort mode
diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h
index 1a109f62e..08e00bf63 100644
--- a/src/gui/models/updatelistmodel.h
+++ b/src/gui/models/updatelistmodel.h
@@ -27,8 +27,6 @@
#include "net/logindata.h"
-#include "utils/gettext.h"
-
#include "localconsts.h"
class UpdateListModel final : public ListModel
diff --git a/src/gui/models/userstablemodel.h b/src/gui/models/userstablemodel.h
index 2f6201024..788fcd2d0 100644
--- a/src/gui/models/userstablemodel.h
+++ b/src/gui/models/userstablemodel.h
@@ -24,7 +24,6 @@
#include "gui/windows/botcheckerwindow.h"
-#include "gui/widgets/button.h"
#include "gui/widgets/label.h"
#include "gui/models/tablemodel.h"