summaryrefslogtreecommitdiffstats
path: root/framework/theme/colorpalette.cpp
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-03-10 12:12:31 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-03-10 12:13:04 +0100
commit7c7a755f2d87d672ee8afc7d5656971297539fe3 (patch)
treeb9fcaa50ff193024d2a0717d088baae153b0cbfd /framework/theme/colorpalette.cpp
parent8be073696c75fa5bdea4b61c50e0137531f99c3f (diff)
downloadkube-7c7a755f2d87d672ee8afc7d5656971297539fe3.tar.gz
kube-7c7a755f2d87d672ee8afc7d5656971297539fe3.zip
Theme plugin with colorpalette
Diffstat (limited to 'framework/theme/colorpalette.cpp')
-rw-r--r--framework/theme/colorpalette.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/framework/theme/colorpalette.cpp b/framework/theme/colorpalette.cpp
new file mode 100644
index 00000000..a321a292
--- /dev/null
+++ b/framework/theme/colorpalette.cpp
@@ -0,0 +1,45 @@
1/*
2 Copyright (C) 2016 Michael Bohlender <michael.bohlender@kdemail.net>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17*/
18
19#include "colorpalette.h"
20
21ColorPalette::ColorPalette(QObject *parent) : QObject(parent), m_background("#fcfcfc"), m_selected("#3daee9"), m_read("#232629"), m_border("#232629")
22{
23
24}
25
26QString ColorPalette::background() const
27{
28 return m_background;
29}
30
31QString ColorPalette::read() const
32{
33 return m_read;
34}
35
36QString ColorPalette::selected() const
37{
38 return m_selected;
39}
40
41QString ColorPalette::border() const
42{
43 return m_border;
44}
45