summaryrefslogtreecommitdiffstats
path: root/kcontrol/style/kcmstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-03 23:13:17 -0500
committerTimothy Pearson <[email protected]>2014-10-03 23:13:17 -0500
commit88a2e255141f97ac65c65fd89b5ef9a30b9138c4 (patch)
tree15dbaac8e5aaf4f3effed2d01ae9c82aa5f08236 /kcontrol/style/kcmstyle.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 'kcontrol/style/kcmstyle.cpp')
-rw-r--r--kcontrol/style/kcmstyle.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp
index 2ca50631d..e6f426423 100644
--- a/kcontrol/style/kcmstyle.cpp
+++ b/kcontrol/style/kcmstyle.cpp
@@ -1138,6 +1138,18 @@ void KCMStyle::addWhatsThis()
"or submenu appears.") );
}
+TQString KCMStyle::handbookSection() const
+{
+ int index = tabWidget->currentPageIndex();
+ if (index == 0) {
+ //return "style-intro";
+ return TQString::null;
+ }
+ else {
+ return TQString::null;
+ }
+}
+
#include "kcmstyle.moc"
// vim: set noet ts=4: