diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-03 23:13:17 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-03 23:13:17 -0500 |
commit | 88a2e255141f97ac65c65fd89b5ef9a30b9138c4 (patch) | |
tree | 15dbaac8e5aaf4f3effed2d01ae9c82aa5f08236 /kcontrol/icons | |
parent | 34cc40d9fb8f21485a467c2cfaba6fd0b063719f (diff) | |
download | tdebase-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/icons')
-rw-r--r-- | kcontrol/icons/main.cpp | 15 | ||||
-rw-r--r-- | kcontrol/icons/main.h | 1 |
2 files changed, 16 insertions, 0 deletions
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 "<p>You can also specify effects that should be applied to the icons.</p>"); } +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" diff --git a/kcontrol/icons/main.h b/kcontrol/icons/main.h index 515cc47e9..840704351 100644 --- a/kcontrol/icons/main.h +++ b/kcontrol/icons/main.h @@ -40,6 +40,7 @@ public: void save(); void defaults(); TQString quickHelp() const; + virtual TQString handbookSection() const; protected slots: void moduleChanged(bool state); |