summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twindecoration/twindecoration.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-03 23:13:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-03 23:13:17 -0500
commit88a2e255141f97ac65c65fd89b5ef9a30b9138c4 (patch)
tree15dbaac8e5aaf4f3effed2d01ae9c82aa5f08236 /twin/kcmtwin/twindecoration/twindecoration.cpp
parent34cc40d9fb8f21485a467c2cfaba6fd0b063719f (diff)
downloadtdebase-88a2e255141f97ac65c65fd89b5ef9a30b9138c4.tar.gz
tdebase-88a2e255141f97ac65c65fd89b5ef9a30b9138c4.zip
Add mechanism by which sections of relevant docbooks may be opened automatically based on active tab in TDECModule
Fix up several tabbed TDEControl modules to use this mechanism Fix a couple of docbooks with missing section IDs This relates to Bug 1850
Diffstat (limited to 'twin/kcmtwin/twindecoration/twindecoration.cpp')
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp
index 8e668e78a..e07329b67 100644
--- a/twin/kcmtwin/twindecoration/twindecoration.cpp
+++ b/twin/kcmtwin/twindecoration/twindecoration.cpp
@@ -956,6 +956,20 @@ TQString KWinDecorationModule::quickHelp() const
" In the \"Buttons\" tab you can change the positions of the buttons to your liking.</p>" );
}
+TQString KWinDecorationModule::handbookSection() const
+{
+ int index = tabWidget->currentPageIndex();
+ if (index == 0) {
+ //return "window-deco-general";
+ return TQString::null;
+ }
+ else if (index == 1) {
+ return "window-deco-buttons";
+ }
+ else {
+ return TQString::null;
+ }
+}
void KWinDecorationModule::resetKWin()
{