summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker/advancedDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-25 21:15:13 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-25 21:15:13 +0000
commitd6306f938c39a07b7c5570af22d6d8cf430d8d94 (patch)
treeb4fc6895af40216272479831b31af5de901e17ef /kcontrol/kicker/advancedDialog.cpp
parentd6bcc187d2f408e3e27598dd7f03821647e51c2e (diff)
downloadtdebase-d6306f938c39a07b7c5570af22d6d8cf430d8d94.tar.gz
tdebase-d6306f938c39a07b7c5570af22d6d8cf430d8d94.zip
Add ability to blur kicker background
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249536 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kicker/advancedDialog.cpp')
-rw-r--r--kcontrol/kicker/advancedDialog.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/kcontrol/kicker/advancedDialog.cpp b/kcontrol/kicker/advancedDialog.cpp
index 29de71df7..d2a87be69 100644
--- a/kcontrol/kicker/advancedDialog.cpp
+++ b/kcontrol/kicker/advancedDialog.cpp
@@ -63,6 +63,8 @@ advancedDialog::advancedDialog(TQWidget* parent, const char* name)
this, TQT_SLOT(changed()));
connect(m_advancedWidget->menubarPanelTransparent, TQT_SIGNAL(clicked()),
this, TQT_SLOT(changed()));
+ connect(m_advancedWidget->menubarPanelBlurred, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(changed()));
connect(m_advancedWidget->kickerResizeHandle, TQT_SIGNAL(clicked()),
this, TQT_SLOT(changed()));
connect(m_advancedWidget->kickerDeepButtons, TQT_SIGNAL(clicked()),
@@ -94,9 +96,11 @@ void advancedDialog::load()
m_advancedWidget->tintColorB->setColor( color );
int tintValue = c.readNumEntry( "TintValue", 33 );
m_advancedWidget->tintSlider->setValue( tintValue );
-
+
bool transparentMenubarPanel = c.readBoolEntry("MenubarPanelTransparent", false);
m_advancedWidget->menubarPanelTransparent->setChecked( transparentMenubarPanel );
+ bool blurredMenubarPanel = c.readBoolEntry("MenubarPanelBlurred", false);
+ m_advancedWidget->menubarPanelBlurred->setChecked( blurredMenubarPanel );
bool useKickerResizeHandle = c.readBoolEntry("UseResizeHandle", false);
m_advancedWidget->kickerResizeHandle->setChecked( useKickerResizeHandle );
@@ -123,6 +127,8 @@ void advancedDialog::save()
m_advancedWidget->tintSlider->value());
c.writeEntry("MenubarPanelTransparent",
m_advancedWidget->menubarPanelTransparent->isChecked());
+ c.writeEntry("MenubarPanelBlurred",
+ m_advancedWidget->menubarPanelBlurred->isChecked());
c.writeEntry("UseResizeHandle",
m_advancedWidget->kickerResizeHandle->isChecked());
c.writeEntry("ShowDeepButtons",
@@ -157,6 +163,8 @@ void advancedDialog::save()
m_advancedWidget->tintSlider->value());
extConfig.writeEntry("MenubarPanelTransparent",
m_advancedWidget->menubarPanelTransparent->isChecked());
+ extConfig.writeEntry("MenubarPanelBlurred",
+ m_advancedWidget->menubarPanelBlurred->isChecked());
extConfig.writeEntry("UseResizeHandle",
m_advancedWidget->kickerResizeHandle->isChecked());
extConfig.writeEntry("ShowDeepButtons",