summaryrefslogtreecommitdiffstats
path: root/kdecore/kglobalsettings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-20 06:16:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-20 06:16:11 +0000
commit0369eb65aa64440d34c975eea79da600abc1ee2b (patch)
tree0a23c265bf013c11bb885b4e40136a0aa5170d37 /kdecore/kglobalsettings.cpp
parent3033222c21d070743c3153b52e38fade9769208a (diff)
downloadtdelibs-0369eb65aa64440d34c975eea79da600abc1ee2b.tar.gz
tdelibs-0369eb65aa64440d34c975eea79da600abc1ee2b.zip
Add ability to use old style rectangular icon text boxes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1177312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kglobalsettings.cpp')
-rw-r--r--kdecore/kglobalsettings.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdecore/kglobalsettings.cpp b/kdecore/kglobalsettings.cpp
index 35b958e9e..c8884409d 100644
--- a/kdecore/kglobalsettings.cpp
+++ b/kdecore/kglobalsettings.cpp
@@ -118,6 +118,12 @@ bool KGlobalSettings::singleClick()
return g.readBoolEntry("SingleClick", KDE_DEFAULT_SINGLECLICK);
}
+bool KGlobalSettings::iconUseRoundedRect()
+{
+ KConfigGroup g( KGlobal::config(), "KDE" );
+ return g.readBoolEntry("IconUseRoundedRect", KDE_DEFAULT_SINGLECLICK);
+}
+
KGlobalSettings::TearOffHandle KGlobalSettings::insertTearOffHandle()
{
int tearoff;