summaryrefslogtreecommitdiffstats
path: root/krfb/kcm_krfb/kcm_krfb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krfb/kcm_krfb/kcm_krfb.cpp')
-rw-r--r--krfb/kcm_krfb/kcm_krfb.cpp19
1 files changed, 18 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;
+ }
+}