summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-08 13:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-08 17:55:40 +0300
commit9247c5a23757e01ef7ee91dd5655fcab177e5e6d (patch)
tree38e947cdaa6f1ec33651560b81851b7a255a58ac /src/gui/models
parentfcf53dd7d524c2204f39269be5768a1919daef42 (diff)
downloadmanaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.gz
manaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.bz2
manaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.xz
manaplus-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.zip
fix code style.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/beingslistmodel.h4
-rw-r--r--src/gui/models/playerrelationlistmodel.h2
-rw-r--r--src/gui/models/serverslistmodel.h9
-rw-r--r--src/gui/models/worldlistmodel.h2
4 files changed, 13 insertions, 4 deletions
diff --git a/src/gui/models/beingslistmodel.h b/src/gui/models/beingslistmodel.h
index 9f3c48bcc..f774321e9 100644
--- a/src/gui/models/beingslistmodel.h
+++ b/src/gui/models/beingslistmodel.h
@@ -24,6 +24,10 @@
#include "gui/models/avatarlistmodel.h"
+#include "utils/dtor.h"
+
+#include <vector>
+
class BeingsListModel final : public AvatarListModel
{
public:
diff --git a/src/gui/models/playerrelationlistmodel.h b/src/gui/models/playerrelationlistmodel.h
index bc343de02..84531852d 100644
--- a/src/gui/models/playerrelationlistmodel.h
+++ b/src/gui/models/playerrelationlistmodel.h
@@ -25,6 +25,8 @@
#include "being/playerrelations.h"
+#include "gui/models/listmodel.h"
+
#include "utils/gettext.h"
static const char *const RELATION_NAMES[PlayerRelation::RELATIONS_NR] =
diff --git a/src/gui/models/serverslistmodel.h b/src/gui/models/serverslistmodel.h
index 630d9664e..5c7e73387 100644
--- a/src/gui/models/serverslistmodel.h
+++ b/src/gui/models/serverslistmodel.h
@@ -25,17 +25,18 @@
#include "net/serverinfo.h"
+#include "gui/font.h"
+#include "gui/gui.h"
+
+#include "gui/windows/serverdialog.h"
+
#include "utils/mutex.h"
#include "gui/models/listmodel.h"
-#include "net/serverinfo.h"
-
#include <string>
#include <vector>
-class ServerDialog;
-
/**
* Server and Port List Model
*/
diff --git a/src/gui/models/worldlistmodel.h b/src/gui/models/worldlistmodel.h
index 7d9dc322c..6913e1c69 100644
--- a/src/gui/models/worldlistmodel.h
+++ b/src/gui/models/worldlistmodel.h
@@ -25,6 +25,8 @@
#include "gui/models/listmodel.h"
+#include "utils/stringutils.h"
+
#include "net/worldinfo.h"
/**