author | sandman <sandman> | 2002-09-24 23:41:42 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-24 23:41:42 (UTC) |
commit | c280cda4ece4a4aa60f4ef2c632d7a37ac08b258 (patch) (side-by-side diff) | |
tree | 4ffb3ad85dcc38db907ee589a5811e9c7af591c8 /noncore/styles/liquid/liquidset.h | |
parent | 3e0fcd45ea0e177deccd5463b2a754d442c03061 (diff) | |
download | opie-c280cda4ece4a4aa60f4ef2c632d7a37ac08b258.zip opie-c280cda4ece4a4aa60f4ef2c632d7a37ac08b258.tar.gz opie-c280cda4ece4a4aa60f4ef2c632d7a37ac08b258.tar.bz2 |
Use the new OColorButton
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 @@ -4,9 +4,9 @@ #include <qdialog.h> #include <qcolor.h> class QLabel; -class QToolButton; +class OColorButton; class QSlider; class LiquidSettings : public QWidget { Q_OBJECT @@ -15,29 +15,25 @@ public: LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); public slots: void changeType ( int t ); - void changeMenuColor ( const QColor &col ); - void changeTextColor ( const QColor &col ); void changeShadow ( bool b ); void changeDeco ( bool b ); void changeFlat ( bool b ); virtual bool writeConfig ( ); private: - QColor m_menucol; - QColor m_textcol; int m_type; bool m_shadow; bool m_deco; bool m_flat; - QSlider * m_opacsld; - QSlider * m_contsld; - QLabel * m_menulbl; - QLabel * m_textlbl; - QLabel * m_opaclbl; - QToolButton *m_menubtn; - QToolButton *m_textbtn; + QSlider * m_opacsld; + QSlider * m_contsld; + QLabel * m_menulbl; + QLabel * m_textlbl; + QLabel * m_opaclbl; + OColorButton *m_menubtn; + OColorButton *m_textbtn; }; #endif |