summaryrefslogtreecommitdiffstats
path: root/kxkb/kcmlayout.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-11-14 22:29:12 +0900
committerMichele Calgaro <[email protected]>2014-11-14 22:29:12 +0900
commit8858fc1159edf35efa400315c11c095008536802 (patch)
tree249287984780e2e2339c532ce1140f5eb5ff743c /kxkb/kcmlayout.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 'kxkb/kcmlayout.cpp')
-rw-r--r--kxkb/kcmlayout.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/kxkb/kcmlayout.cpp b/kxkb/kcmlayout.cpp
index 2c601856f..1cb011270 100644
--- a/kxkb/kcmlayout.cpp
+++ b/kxkb/kcmlayout.cpp
@@ -329,6 +329,20 @@ void LayoutConfig::save()
}
+TQString LayoutConfig::handbookSection() const
+{
+ int index = widget->tabWidget->currentPageIndex();
+ if (index == 0)
+ return "layout-config";
+ else if (index == 1)
+ return "switching-config";
+ else if (index == 2)
+ return "xkboptions-config";
+ else
+ return TQString::null;
+}
+
+
void LayoutConfig::updateStickyLimit()
{
int layoutsCnt = widget->listLayoutsDst->childCount();