summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinoptions
diff options
context:
space:
mode:
Diffstat (limited to 'twin/kcmtwin/twinoptions')
-rw-r--r--twin/kcmtwin/twinoptions/main.cpp34
-rw-r--r--twin/kcmtwin/twinoptions/main.h1
2 files changed, 35 insertions, 0 deletions
diff --git a/twin/kcmtwin/twinoptions/main.cpp b/twin/kcmtwin/twinoptions/main.cpp
index c2a74ebb0..8ed52b067 100644
--- a/twin/kcmtwin/twinoptions/main.cpp
+++ b/twin/kcmtwin/twinoptions/main.cpp
@@ -200,6 +200,40 @@ void KWinOptions::moduleChanged(bool state)
emit TDECModule::changed(state);
}
+TQString KWinOptions::handbookSection() const
+{
+ int index = tab->currentPageIndex();
+ if (index == 0)
+ {
+ //return "focus";
+ return TQString::null;
+ }
+ else if (index == 1)
+ {
+ return "titlebar-actions";
+ }
+ else if (index == 2)
+ {
+ return "window-actions";
+ }
+ else if (index == 3)
+ {
+ return "moving";
+ }
+ else if (index == 4)
+ {
+ return "advanced";
+ }
+ else if (index == 5)
+ {
+ return "translucency";
+ }
+ else
+ {
+ return TQString::null;
+ }
+}
+
TDEActionsOptions::TDEActionsOptions(TQWidget *parent, const char *name)
: TDECModule(parent, name)
diff --git a/twin/kcmtwin/twinoptions/main.h b/twin/kcmtwin/twinoptions/main.h
index cb80f7e8d..554b7b761 100644
--- a/twin/kcmtwin/twinoptions/main.h
+++ b/twin/kcmtwin/twinoptions/main.h
@@ -48,6 +48,7 @@ public:
void save();
void defaults();
TQString quickHelp() const;
+ virtual TQString handbookSection() const;
protected slots: