summaryrefslogtreecommitdiffstats
path: root/src/komposepreferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/komposepreferences.cpp')
-rw-r--r--src/komposepreferences.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/komposepreferences.cpp b/src/komposepreferences.cpp
index 572b714..9adf4eb 100644
--- a/src/komposepreferences.cpp
+++ b/src/komposepreferences.cpp
@@ -168,6 +168,12 @@ KomposePreferences::KomposePreferences()
TQToolTip::add( imageEffects, imageEffectsHelp );
page2Layout->addWidget(imageEffects);
+ blurBackground = new TQCheckBox(i18n("Blur desktop background"), page2);
+ TQString blurBackgroundHelp = i18n("Apply a Gaussian blur to the desktop background.");
+ TQWhatsThis::add( blurBackground, blurBackgroundHelp );
+ TQToolTip::add( blurBackground, blurBackgroundHelp );
+ page2Layout->addWidget(blurBackground);
+
showDesktopNum = new TQCheckBox(i18n("Show Desktop number on Systray icon"), page2);
TQString showDesktopNumHelp = i18n("Displays the number of the currently active Desktop on the Komposé systray icon." );
TQWhatsThis::add( showDesktopNum, showDesktopNumHelp );
@@ -300,6 +306,8 @@ void KomposePreferences::fillPages()
dynamicVirtDeskLayout->setChecked( KomposeSettings::instance()->getDynamicVirtDeskLayout() );
imageEffects->setChecked( KomposeSettings::instance()->getImageEffects() );
+ blurBackground->setChecked( KomposeSettings::instance()->getBlurBackground() );
+
showDesktopNum->setChecked( KomposeSettings::instance()->getShowDesktopNum() );
showWindowTitles->setChecked( KomposeSettings::instance()->getShowWindowTitles() );
@@ -360,6 +368,7 @@ void KomposePreferences::slotApply()
KomposeSettings::instance()->setCacheScaledPixmaps( cacheScaledPixmaps->isChecked() );
KomposeSettings::instance()->setDynamicVirtDeskLayout( dynamicVirtDeskLayout->isChecked() );
KomposeSettings::instance()->setImageEffects( imageEffects->isChecked() );
+ KomposeSettings::instance()->setBlurBackground( blurBackground->isChecked() );
KomposeSettings::instance()->setShowDesktopNum( showDesktopNum->isChecked() );
KomposeSettings::instance()->setShowWindowTitles( showWindowTitles->isChecked() );