summaryrefslogtreecommitdiffstats
path: root/kcontrol/locale/toplevel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-14 22:29:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-14 22:29:12 +0900
commit8858fc1159edf35efa400315c11c095008536802 (patch)
tree249287984780e2e2339c532ce1140f5eb5ff743c /kcontrol/locale/toplevel.cpp
parentf8903b3564659e9ff2e8779610e56da6efaca4f0 (diff)
downloadtdebase-8858fc1159edf35efa400315c11c095008536802.tar.gz
tdebase-8858fc1159edf35efa400315c11c095008536802.zip
Fixed help handbook sections for Regional & Accessibility. This relates to bug 1850.
Diffstat (limited to 'kcontrol/locale/toplevel.cpp')
-rw-r--r--kcontrol/locale/toplevel.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/kcontrol/locale/toplevel.cpp b/kcontrol/locale/toplevel.cpp
index a7a85e72f..d2a17ca74 100644
--- a/kcontrol/locale/toplevel.cpp
+++ b/kcontrol/locale/toplevel.cpp
@@ -206,6 +206,23 @@ void TDELocaleApplication::save()
emit changed(false);
}
+TQString TDELocaleApplication::handbookSection() const
+{
+ int index = m_tab->currentPageIndex();
+ if (index == 0)
+ return "locale-locale";
+ else if (index == 1)
+ return "locale-numbers";
+ else if (index == 2)
+ return "locale-money";
+ else if (index == 3)
+ return "locale-datetime";
+ else if (index == 4)
+ return "locale-other";
+ else
+ return TQString::null;
+}
+
void TDELocaleApplication::defaults()
{
load( true );