summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabssettings.h
Unidiff
Diffstat (limited to 'core/settings/launcher/tabssettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/tabssettings.h31
1 files changed, 9 insertions, 22 deletions
diff --git a/core/settings/launcher/tabssettings.h b/core/settings/launcher/tabssettings.h
index 17b6e25..76cae68 100644
--- a/core/settings/launcher/tabssettings.h
+++ b/core/settings/launcher/tabssettings.h
@@ -4,7 +4,9 @@
4#include <qwidget.h> 4#include <qwidget.h>
5#include <qmap.h> 5#include <qmap.h>
6 6
7class QListView; 7#include "tabconfig.h"
8
9class QListBox;
8 10
9 11
10class TabsSettings : public QWidget { 12class TabsSettings : public QWidget {
@@ -15,35 +17,20 @@ public:
15 17
16 void accept ( ); 18 void accept ( );
17 19
18 enum ViewMode { 20protected slots:
19 Icon, 21 void newClicked ( );
20 List 22 void deleteClicked ( );
21 }; 23 void editClicked ( );
22 enum BackgroundType {
23 Ruled,
24 SolidColor,
25 Image
26 };
27 struct TabSettings {
28 ViewMode m_view;
29 BackgroundType m_bg_type;
30 QString m_bg_image;
31 QString m_bg_color;
32 QString m_text_color;
33 QString m_font_family;
34 int m_font_size;
35 bool m_changed;
36 };
37 24
38protected: 25protected:
39 void init ( ); 26 void init ( );
40 void readTabSettings ( ); 27 void readTabSettings ( );
41 28
42private: 29private:
43 QListView *m_list; 30 QListBox *m_list;
44 //QString currentTab; 31 //QString currentTab;
45 QStringList m_ids; 32 QStringList m_ids;
46 QMap <QString, TabSettings> m_tabs; 33 QMap <QString, TabConfig> m_tabs;
47}; 34};
48 35
49 36