summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabssettings.h
authorsandman <sandman>2002-09-24 23:54:38 (UTC)
committer sandman <sandman>2002-09-24 23:54:38 (UTC)
commit64110f43896391053f662186228a4fad2280f717 (patch) (side-by-side diff)
treeb2f94a61a8de8b95a29c88d513525e7478b1d8c9 /core/settings/launcher/tabssettings.h
parent5ae62a1def1d21c4827560607b208033d6054ed0 (diff)
downloadopie-64110f43896391053f662186228a4fad2280f717.zip
opie-64110f43896391053f662186228a4fad2280f717.tar.gz
opie-64110f43896391053f662186228a4fad2280f717.tar.bz2
beta version - not fully functional
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 @@
#include <qwidget.h>
#include <qmap.h>
-class QListView;
+#include "tabconfig.h"
+
+class QListBox;
class TabsSettings : public QWidget {
@@ -15,35 +17,20 @@ public:
void accept ( );
- 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 ( );
protected:
void init ( );
void readTabSettings ( );
private:
- QListView *m_list;
+ QListBox *m_list;
// QString currentTab;
QStringList m_ids;
- QMap <QString, TabSettings> m_tabs;
+ QMap <QString, TabConfig> m_tabs;
};