Diffstat (limited to 'noncore/styles/liquid/liquidset.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/liquidset.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/noncore/styles/liquid/liquidset.h b/noncore/styles/liquid/liquidset.h index bb1846c..8a03447 100644 --- a/noncore/styles/liquid/liquidset.h +++ b/noncore/styles/liquid/liquidset.h | |||
@@ -2,42 +2,38 @@ | |||
2 | #define __OPIE_LIQUID_SET_H__ | 2 | #define __OPIE_LIQUID_SET_H__ |
3 | 3 | ||
4 | #include <qdialog.h> | 4 | #include <qdialog.h> |
5 | #include <qcolor.h> | 5 | #include <qcolor.h> |
6 | 6 | ||
7 | class QLabel; | 7 | class QLabel; |
8 | class QToolButton; | 8 | class OColorButton; |
9 | class QSlider; | 9 | class QSlider; |
10 | 10 | ||
11 | class LiquidSettings : public QWidget { | 11 | class LiquidSettings : public QWidget { |
12 | Q_OBJECT | 12 | Q_OBJECT |
13 | 13 | ||
14 | public: | 14 | public: |
15 | LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); | 15 | LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); |
16 | 16 | ||
17 | public slots: | 17 | public slots: |
18 | void changeType ( int t ); | 18 | void changeType ( int t ); |
19 | void changeMenuColor ( const QColor &col ); | ||
20 | void changeTextColor ( const QColor &col ); | ||
21 | void changeShadow ( bool b ); | 19 | void changeShadow ( bool b ); |
22 | void changeDeco ( bool b ); | 20 | void changeDeco ( bool b ); |
23 | void changeFlat ( bool b ); | 21 | void changeFlat ( bool b ); |
24 | 22 | ||
25 | virtual bool writeConfig ( ); | 23 | virtual bool writeConfig ( ); |
26 | 24 | ||
27 | private: | 25 | private: |
28 | QColor m_menucol; | ||
29 | QColor m_textcol; | ||
30 | int m_type; | 26 | int m_type; |
31 | bool m_shadow; | 27 | bool m_shadow; |
32 | bool m_deco; | 28 | bool m_deco; |
33 | bool m_flat; | 29 | bool m_flat; |
34 | 30 | ||
35 | QSlider * m_opacsld; | 31 | QSlider * m_opacsld; |
36 | QSlider * m_contsld; | 32 | QSlider * m_contsld; |
37 | QLabel * m_menulbl; | 33 | QLabel * m_menulbl; |
38 | QLabel * m_textlbl; | 34 | QLabel * m_textlbl; |
39 | QLabel * m_opaclbl; | 35 | QLabel * m_opaclbl; |
40 | QToolButton *m_menubtn; | 36 | OColorButton *m_menubtn; |
41 | QToolButton *m_textbtn; | 37 | OColorButton *m_textbtn; |
42 | }; | 38 | }; |
43 | #endif | 39 | #endif |