summaryrefslogtreecommitdiffstats
path: root/kcontrol/style
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/style')
-rw-r--r--kcontrol/style/kcmstyle.cpp12
-rw-r--r--kcontrol/style/kcmstyle.h2
2 files changed, 14 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:
diff --git a/kcontrol/style/kcmstyle.h b/kcontrol/style/kcmstyle.h
index aa00b9695..ad9fec498 100644
--- a/kcontrol/style/kcmstyle.h
+++ b/kcontrol/style/kcmstyle.h
@@ -73,6 +73,8 @@ public:
virtual void save();
virtual void defaults();
+ virtual TQString handbookSection() const;
+
protected:
bool findStyle( const TQString& str, int& combobox_item );
void switchStyle(const TQString& styleName, bool force = false);