summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
Diffstat (limited to 'krfb')
-rw-r--r--krfb/kcm_krfb/kcm_krfb.cpp19
-rw-r--r--krfb/kcm_krfb/kcm_krfb.h2
2 files changed, 20 insertions, 1 deletions
diff --git a/krfb/kcm_krfb/kcm_krfb.cpp b/krfb/kcm_krfb/kcm_krfb.cpp
index 6d6861ab..0c51ea4a 100644
--- a/krfb/kcm_krfb/kcm_krfb.cpp
+++ b/krfb/kcm_krfb/kcm_krfb.cpp
@@ -25,6 +25,7 @@
#include <tqradiobutton.h>
#include <tqlineedit.h>
#include <tqbuttongroup.h>
+#include <tqtabwidget.h>
#include <tqcstring.h>
#include <tqdatastream.h>
#include <tdeapplication.h>
@@ -177,4 +178,20 @@ TQString KcmKRfb::quickHelp() const
" the TDE desktop sharing.");
}
-
+TQString KcmKRfb::handbookSection() const
+{
+ int index = m_confWidget->TabWidget2->currentPageIndex();
+ if (index == 0) {
+ //return "rfb-access";
+ return TQString::null;
+ }
+ else if (index == 1) {
+ return "rfb-session";
+ }
+ else if (index == 2) {
+ return "rfb-network";
+ }
+ else {
+ return TQString::null;
+ }
+}
diff --git a/krfb/kcm_krfb/kcm_krfb.h b/krfb/kcm_krfb/kcm_krfb.h
index 1f9d6aa0..996379c6 100644
--- a/krfb/kcm_krfb/kcm_krfb.h
+++ b/krfb/kcm_krfb/kcm_krfb.h
@@ -39,6 +39,8 @@ public:
void save();
void defaults();
TQString quickHelp() const;
+
+ virtual TQString handbookSection() const;
private slots:
void setInvitationNum(int num);
void configChanged();