summaryrefslogtreecommitdiffstats
path: root/kxkb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-19 23:15:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-19 23:15:02 -0600
commitac2a2efee3834bba4eb17228b7f405829242cd96 (patch)
tree955a74225aaf611e454fb6519c5da883cfa9e09d /kxkb
parent0a8ecfb93b699a519ad9af9e548279d50c50093b (diff)
parent3b73654a279458e28f225b2cce77bee098fe1739 (diff)
downloadtdebase-ac2a2efee3834bba4eb17228b7f405829242cd96.tar.gz
tdebase-ac2a2efee3834bba4eb17228b7f405829242cd96.zip
Merge branch 'master' of https://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'kxkb')
-rw-r--r--kxkb/kcmlayout.cpp14
-rw-r--r--kxkb/kcmlayout.h3
2 files changed, 16 insertions, 1 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();
diff --git a/kxkb/kcmlayout.h b/kxkb/kcmlayout.h
index 769b08048..a9b375db6 100644
--- a/kxkb/kcmlayout.h
+++ b/kxkb/kcmlayout.h
@@ -26,7 +26,8 @@ public:
void save();
void defaults();
void initUI();
-
+ virtual TQString handbookSection() const;
+
protected:
TQString createOptionString();
void updateIndicator(TQListViewItem* selLayout);