summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 16:30:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 16:44:21 +0300
commit7432738d75d02147e2aaa1d577383d26a9e18296 (patch)
tree63f22206794e84aba6df56ba7cf0a83009fa86cf /src/gui
parent5fc6d9e0f9637e3aaa71972478bee9febbe78ca7 (diff)
downloadplus-7432738d75d02147e2aaa1d577383d26a9e18296.tar.gz
plus-7432738d75d02147e2aaa1d577383d26a9e18296.tar.bz2
plus-7432738d75d02147e2aaa1d577383d26a9e18296.tar.xz
plus-7432738d75d02147e2aaa1d577383d26a9e18296.zip
Move colormodel into gui/models directory.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/models/colormodel.cpp (renamed from src/gui/widgets/colormodel.cpp)2
-rw-r--r--src/gui/models/colormodel.h (renamed from src/gui/widgets/colormodel.h)6
-rw-r--r--src/gui/widgets/colorpage.cpp2
-rw-r--r--src/gui/windows/emotewindow.cpp3
4 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/widgets/colormodel.cpp b/src/gui/models/colormodel.cpp
index 3a71a93cc..47486d735 100644
--- a/src/gui/widgets/colormodel.cpp
+++ b/src/gui/models/colormodel.cpp
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "gui/widgets/colormodel.h"
+#include "gui/models/colormodel.h"
#include "gui/widgets/widget2.h"
diff --git a/src/gui/widgets/colormodel.h b/src/gui/models/colormodel.h
index ba68e94e2..f3d6f3617 100644
--- a/src/gui/widgets/colormodel.h
+++ b/src/gui/models/colormodel.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GUI_WIDGETS_COLORMODEL_H
-#define GUI_WIDGETS_COLORMODEL_H
+#ifndef GUI_MODELS_COLORMODEL_H
+#define GUI_MODELS_COLORMODEL_H
#include "utils/stringvector.h"
@@ -73,4 +73,4 @@ class ColorModel : public ListModel
std::vector<ColorPair> mColors;
};
-#endif // GUI_WIDGETS_COLORMODEL_H
+#endif // GUI_MODELS_COLORMODEL_H
diff --git a/src/gui/widgets/colorpage.cpp b/src/gui/widgets/colorpage.cpp
index 8196dead4..5e10b885c 100644
--- a/src/gui/widgets/colorpage.cpp
+++ b/src/gui/widgets/colorpage.cpp
@@ -20,7 +20,7 @@
#include "gui/widgets/colorpage.h"
-#include "gui/widgets/colormodel.h"
+#include "gui/models/colormodel.h"
#include "gui/font.h"
diff --git a/src/gui/windows/emotewindow.cpp b/src/gui/windows/emotewindow.cpp
index d94344090..97ce9b5c7 100644
--- a/src/gui/windows/emotewindow.cpp
+++ b/src/gui/windows/emotewindow.cpp
@@ -20,7 +20,8 @@
#include "gui/windows/emotewindow.h"
-#include "gui/widgets/colormodel.h"
+#include "gui/models/colormodel.h"
+
#include "gui/widgets/colorpage.h"
#include "gui/widgets/emotepage.h"
#include "gui/widgets/namesmodel.h"