diff options
Diffstat (limited to 'ktalkd')
-rw-r--r-- | ktalkd/kcmktalkd/main.cpp | 14 | ||||
-rw-r--r-- | ktalkd/kcmktalkd/main.h | 44 |
2 files changed, 36 insertions, 22 deletions
diff --git a/ktalkd/kcmktalkd/main.cpp b/ktalkd/kcmktalkd/main.cpp index 89bf8db5..29c4cbf2 100644 --- a/ktalkd/kcmktalkd/main.cpp +++ b/ktalkd/kcmktalkd/main.cpp @@ -86,6 +86,20 @@ void KTalkdConfigModule::resizeEvent(TQResizeEvent *) tab->setGeometry(0,0,width(),height()); } +TQString KTalkdConfigModule::handbookSection() const +{ + // FIXME + // No context-sensitive help documentation currently exists for this module! + int index = tab->currentPageIndex(); + if (index == 0) { + //return ""; + return TQString::null; + } + else { + return TQString::null; + } +} + extern "C" { KDE_EXPORT TDECModule *create_ktalkd(TQWidget *parent, const char *) diff --git a/ktalkd/kcmktalkd/main.h b/ktalkd/kcmktalkd/main.h index 1b55b425..5e5a3f43 100644 --- a/ktalkd/kcmktalkd/main.h +++ b/ktalkd/kcmktalkd/main.h @@ -35,30 +35,30 @@ class KForwmachPageConfig; class KTalkdConfigModule : public TDECModule { Q_OBJECT - - -public: - - KTalkdConfigModule(TQWidget *parent, const char *name); - virtual ~KTalkdConfigModule(); - - //void init(); - void load(); - void save(); - void defaults(); - -protected: - void resizeEvent(TQResizeEvent *); - -private: - KSimpleConfig *config; - KSimpleConfig *announceconfig; - TQTabWidget *tab; + public: + + KTalkdConfigModule(TQWidget *parent, const char *name); + virtual ~KTalkdConfigModule(); + + //void init(); + void load(); + void save(); + void defaults(); + + virtual TQString handbookSection() const; + protected: + void resizeEvent(TQResizeEvent *); + + private: + KSimpleConfig *config; + KSimpleConfig *announceconfig; - KSoundPageConfig *soundpage; - KAnswmachPageConfig *answmachpage; - KForwmachPageConfig *forwmachpage; + TQTabWidget *tab; + + KSoundPageConfig *soundpage; + KAnswmachPageConfig *answmachpage; + KForwmachPageConfig *forwmachpage; }; #endif |