summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/liquidset.cpp
Side-by-side diff
Diffstat (limited to 'noncore/styles/liquid/liquidset.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/liquid/liquidset.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/noncore/styles/liquid/liquidset.cpp b/noncore/styles/liquid/liquidset.cpp
index 4fffe12..ea0b3c9 100644
--- a/noncore/styles/liquid/liquidset.cpp
+++ b/noncore/styles/liquid/liquidset.cpp
@@ -40,19 +40,2 @@
-static void changeButtonColor ( QWidget *btn, const QColor &col )
-{
- QPalette pal = btn-> palette ( );
-
- pal. setColor ( QPalette::Normal, QColorGroup::Button, col );
- pal. setColor ( QPalette::Active, QColorGroup::Button, col );
- pal. setColor ( QPalette::Disabled, QColorGroup::Button, col );
- pal. setColor ( QPalette::Inactive, QColorGroup::Button, col );
- pal. setColor ( QPalette::Normal, QColorGroup::Background, col );
- pal. setColor ( QPalette::Active, QColorGroup::Background, col );
- pal. setColor ( QPalette::Disabled, QColorGroup::Background, col );
- pal. setColor ( QPalette::Inactive, QColorGroup::Background, col );
-
- btn-> setPalette ( pal );
-}
-
-
LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
@@ -70,3 +53,2 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
m_shadow = config. readBoolEntry ( "ShadowText", true );
- m_deco = config. readBoolEntry ( "WinDecoration", true );
int contrast = config. readNumEntry ( "StippleContrast", 5 );
@@ -120,8 +102,2 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
- QCheckBox *windeco = new QCheckBox ( tr( "Draw liquid window title bars" ), this );
- windeco-> setChecked ( m_deco );
- vbox-> addWidget ( windeco );
-
- vbox-> addSpacing ( 4 );
-
QCheckBox *flattb = new QCheckBox ( tr( "Make toolbar buttons appear flat" ), this );
@@ -148,3 +124,2 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
connect ( shadow, SIGNAL( toggled ( bool ) ), this, SLOT( changeShadow ( bool ) ) );
- connect ( windeco, SIGNAL( toggled ( bool ) ), this, SLOT( changeDeco ( bool ) ) );
connect ( flattb, SIGNAL( toggled ( bool ) ), this, SLOT( changeFlat ( bool ) ) );
@@ -171,7 +146,2 @@ void LiquidSettings::changeShadow ( bool b )
-void LiquidSettings::changeDeco ( bool b )
-{
- m_deco = b;
-}
-
void LiquidSettings::changeFlat ( bool b )
@@ -192,3 +162,2 @@ bool LiquidSettings::writeConfig ( )
config. writeEntry ( "ShadowText", m_shadow );
- config. writeEntry ( "WinDecoration", m_deco );
config. writeEntry ( "StippleContrast", m_contsld-> value ( ));