diff options
Diffstat (limited to 'twin/kcmtwin/twindecoration')
-rw-r--r-- | twin/kcmtwin/twindecoration/twindecoration.cpp | 14 | ||||
-rw-r--r-- | twin/kcmtwin/twindecoration/twindecoration.h | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp index 8e668e78a..e07329b67 100644 --- a/twin/kcmtwin/twindecoration/twindecoration.cpp +++ b/twin/kcmtwin/twindecoration/twindecoration.cpp @@ -956,6 +956,20 @@ TQString KWinDecorationModule::quickHelp() const " In the \"Buttons\" tab you can change the positions of the buttons to your liking.</p>" ); } +TQString KWinDecorationModule::handbookSection() const +{ + int index = tabWidget->currentPageIndex(); + if (index == 0) { + //return "window-deco-general"; + return TQString::null; + } + else if (index == 1) { + return "window-deco-buttons"; + } + else { + return TQString::null; + } +} void KWinDecorationModule::resetKWin() { diff --git a/twin/kcmtwin/twindecoration/twindecoration.h b/twin/kcmtwin/twindecoration/twindecoration.h index cf968df1d..459823f08 100644 --- a/twin/kcmtwin/twindecoration/twindecoration.h +++ b/twin/kcmtwin/twindecoration/twindecoration.h @@ -73,6 +73,8 @@ class KWinDecorationModule : public TDECModule, virtual public KWinDecorationIfa TQString quickHelp() const; + virtual TQString handbookSection() const; + virtual void dcopUpdateClientList(); signals: |