summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 16:54:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 16:54:00 +0300
commit775810f943f7f6540d3bb180fdb91a074fdbaa75 (patch)
tree17a72b9f6544a164b3ed0d89c3ce4f9c9366905e /src/gui
parent7432738d75d02147e2aaa1d577383d26a9e18296 (diff)
downloadmv-775810f943f7f6540d3bb180fdb91a074fdbaa75.tar.gz
mv-775810f943f7f6540d3bb180fdb91a074fdbaa75.tar.bz2
mv-775810f943f7f6540d3bb180fdb91a074fdbaa75.tar.xz
mv-775810f943f7f6540d3bb180fdb91a074fdbaa75.zip
Move extendedlistmodel into gui/models directory.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/models/extendedlistmodel.h (renamed from src/gui/widgets/extendedlistmodel.h)6
-rw-r--r--src/gui/widgets/dropdown.cpp3
-rw-r--r--src/gui/widgets/extendedlistbox.cpp2
-rw-r--r--src/gui/widgets/extendednamesmodel.h2
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp3
-rw-r--r--src/gui/windows/npcdialog.h3
6 files changed, 11 insertions, 8 deletions
diff --git a/src/gui/widgets/extendedlistmodel.h b/src/gui/models/extendedlistmodel.h
index c3cd26b90..5d859e781 100644
--- a/src/gui/widgets/extendedlistmodel.h
+++ b/src/gui/models/extendedlistmodel.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GUI_WIDGETS_EXTENDEDLISTMODEL_H
-#define GUI_WIDGETS_EXTENDEDLISTMODEL_H
+#ifndef GUI_MODELS_EXTENDEDLISTMODEL_H
+#define GUI_MODELS_EXTENDEDLISTMODEL_H
#include "resources/image.h"
@@ -31,4 +31,4 @@ class ExtendedListModel : public ListModel
virtual const Image *getImageAt(int i) A_WARN_UNUSED = 0;
};
-#endif // GUI_WIDGETS_EXTENDEDLISTMODEL_H
+#endif // GUI_MODELS_EXTENDEDLISTMODEL_H
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index ec9a2e22f..763cf47a5 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -28,7 +28,8 @@
#include "input/keydata.h"
-#include "gui/widgets/extendedlistmodel.h"
+#include "gui/models/extendedlistmodel.h"
+
#include "gui/widgets/popuplist.h"
#include "resources/image.h"
diff --git a/src/gui/widgets/extendedlistbox.cpp b/src/gui/widgets/extendedlistbox.cpp
index c507f986c..13fb70f28 100644
--- a/src/gui/widgets/extendedlistbox.cpp
+++ b/src/gui/widgets/extendedlistbox.cpp
@@ -20,7 +20,7 @@
#include "gui/widgets/extendedlistbox.h"
-#include "gui/widgets/extendedlistmodel.h"
+#include "gui/models/extendedlistmodel.h"
#include "gui/font.h"
diff --git a/src/gui/widgets/extendednamesmodel.h b/src/gui/widgets/extendednamesmodel.h
index 93e87cfa0..3c38c48ed 100644
--- a/src/gui/widgets/extendednamesmodel.h
+++ b/src/gui/widgets/extendednamesmodel.h
@@ -23,7 +23,7 @@
#include "utils/stringvector.h"
-#include "gui/widgets/extendedlistmodel.h"
+#include "gui/models/extendedlistmodel.h"
class ExtendedNamesModel : public ExtendedListModel
{
diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp
index 1d5f0f910..8d5b234e1 100644
--- a/src/gui/widgets/tabs/setup_theme.cpp
+++ b/src/gui/widgets/tabs/setup_theme.cpp
@@ -26,9 +26,10 @@
#include "gui/windows/okdialog.h"
+#include "gui/models/extendedlistmodel.h"
+
#include "gui/widgets/button.h"
#include "gui/widgets/dropdown.h"
-#include "gui/widgets/extendedlistmodel.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layouthelper.h"
#include "gui/widgets/namesmodel.h"
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index b9fa1aab8..5188c2fe2 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -25,7 +25,8 @@
#include "listeners/configlistener.h"
-#include "gui/widgets/extendedlistmodel.h"
+#include "gui/models/extendedlistmodel.h"
+
#include "gui/widgets/window.h"
#include "utils/stringvector.h"