Diffstat (limited to 'core/settings/launcher/tabssettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/launcher/tabssettings.h | 31 |
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 @@ -6,3 +6,5 @@ -class QListView; +#include "tabconfig.h" + +class QListBox; @@ -17,21 +19,6 @@ public: - enum ViewMode { - Icon, - List - }; - enum BackgroundType { - Ruled, - SolidColor, - Image - }; - struct TabSettings { - ViewMode m_view; - BackgroundType m_bg_type; - QString m_bg_image; - QString m_bg_color; - QString m_text_color; - QString m_font_family; - int m_font_size; - bool m_changed; - }; +protected slots: + void newClicked ( ); + void deleteClicked ( ); + void editClicked ( ); @@ -42,6 +29,6 @@ protected: private: - QListView *m_list; + QListBox *m_list; // QString currentTab; QStringList m_ids; - QMap <QString, TabSettings> m_tabs; + QMap <QString, TabConfig> m_tabs; }; |