From 88a2e255141f97ac65c65fd89b5ef9a30b9138c4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 3 Oct 2014 23:13:17 -0500 Subject: 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 --- kcontrol/icons/main.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'kcontrol/icons/main.cpp') diff --git a/kcontrol/icons/main.cpp b/kcontrol/icons/main.cpp index 7afaf7df7..359bfec91 100644 --- a/kcontrol/icons/main.cpp +++ b/kcontrol/icons/main.cpp @@ -100,6 +100,21 @@ TQString IconModule::quickHelp() const "

You can also specify effects that should be applied to the icons.

"); } +TQString IconModule::handbookSection() const +{ + int index = tab->currentPageIndex(); + if (index == 0) { + //return "icon-theme"; + return TQString::null; + } + else if (index == 1) { + return "icons-use"; + } + else { + return TQString::null; + } +} + #include "main.moc" -- cgit v1.2.1