summaryrefslogtreecommitdiffstats
path: root/kcontrol/style
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-09 22:07:33 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-09 22:07:33 -0500
commitcc12a51c629cfaec41a6170a480ea0a757b26f54 (patch)
tree636f3cbfde6fc6d7c7afb51cf9a99690423414e5 /kcontrol/style
parent4e5a99f6d298ecd31eb229b14fabaaf4fb5b8d8e (diff)
downloadtdebase-cc12a51c629cfaec41a6170a480ea0a757b26f54.tar.gz
tdebase-cc12a51c629cfaec41a6170a480ea0a757b26f54.zip
Link tabs to handbook sections in Style and Panels tdecontrol modules
This relates to Bug 1850
Diffstat (limited to 'kcontrol/style')
-rw-r--r--kcontrol/style/kcmstyle.cpp8
-rw-r--r--kcontrol/style/kcmstyle.h2
2 files changed, 8 insertions, 2 deletions
diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp
index e6f426423..d6a7ae6ee 100644
--- a/kcontrol/style/kcmstyle.cpp
+++ b/kcontrol/style/kcmstyle.cpp
@@ -1142,9 +1142,15 @@ TQString KCMStyle::handbookSection() const
{
int index = tabWidget->currentPageIndex();
if (index == 0) {
- //return "style-intro";
+ //return "style-style";
return TQString::null;
}
+ else if (index == 1) {
+ return "style-effects";
+ }
+ else if (index == 2) {
+ return "style-misc";
+ }
else {
return TQString::null;
}
diff --git a/kcontrol/style/kcmstyle.h b/kcontrol/style/kcmstyle.h
index ad9fec498..4fb1065bf 100644
--- a/kcontrol/style/kcmstyle.h
+++ b/kcontrol/style/kcmstyle.h
@@ -127,7 +127,7 @@ private:
TQCheckBox* cbAutoHideAccelerators;
TQCheckBox* cbMenuAltKeyNavigation;
TQCheckBox* cbEnableTooltips;
- KIntNumInput *m_popupMenuDelay;
+ KIntNumInput *m_popupMenuDelay;
// Page2 widgets
TQCheckBox* cbEnableEffects;