summaryrefslogtreecommitdiffstats
path: root/kdecore/kglobalsettings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-21 02:34:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-21 02:34:52 +0000
commitc7481f84f95a3e8777ff8a416a6938df8b2919be (patch)
tree91003d75b0dd7a093e28ae5ab41202717db8d695 /kdecore/kglobalsettings.cpp
parentb54dffb3d67b9077782b597d592bf073894d9805 (diff)
downloadtdelibs-c7481f84f95a3e8777ff8a416a6938df8b2919be.tar.gz
tdelibs-c7481f84f95a3e8777ff8a416a6938df8b2919be.zip
Add configuration option for global kiconview activation effects
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1177728 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kglobalsettings.cpp')
-rw-r--r--kdecore/kglobalsettings.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/kdecore/kglobalsettings.cpp b/kdecore/kglobalsettings.cpp
index fcaf3c279..5a410e191 100644
--- a/kdecore/kglobalsettings.cpp
+++ b/kdecore/kglobalsettings.cpp
@@ -752,6 +752,13 @@ bool KGlobalSettings::showFilePreview(const KURL &url)
return g.readBoolEntry(protocol, defaultSetting );
}
+bool KGlobalSettings::showKonqIconActivationEffect()
+{
+ KConfigGroup g( KGlobal::config(), "KDE" );
+ return g.readBoolEntry("ShowKonqIconActivationEffect",
+ KDE_DEFAULT_KONQ_ACTIVATION_EFFECT);
+}
+
bool KGlobalSettings::opaqueResize()
{
KConfigGroup g( KGlobal::config(), "KDE" );