summaryrefslogtreecommitdiffstats
path: root/tdewallet
diff options
context:
space:
mode:
Diffstat (limited to 'tdewallet')
-rw-r--r--tdewallet/konfigurator/konfigurator.cpp11
-rw-r--r--tdewallet/konfigurator/konfigurator.h3
-rw-r--r--tdewallet/konfigurator/tdewalletconfig.desktop2
3 files changed, 14 insertions, 2 deletions
diff --git a/tdewallet/konfigurator/konfigurator.cpp b/tdewallet/konfigurator/konfigurator.cpp
index ad7c587..43b7732 100644
--- a/tdewallet/konfigurator/konfigurator.cpp
+++ b/tdewallet/konfigurator/konfigurator.cpp
@@ -36,6 +36,7 @@
#include <tqlistview.h>
#include <tqpushbutton.h>
#include <tqspinbox.h>
+#include <tqtabwidget.h>
typedef KGenericFactory<TDEWalletConfig, TQWidget> TDEWalletFactory;
K_EXPORT_COMPONENT_FACTORY(kcm_tdewallet, TDEWalletFactory("kcmtdewallet"))
@@ -289,6 +290,16 @@ void TDEWalletConfig::save() {
emit changed(false);
}
+TQString TDEWalletConfig::handbookSection() const
+{
+ int index = _wcw->tabWidget2->currentPageIndex();
+ if (index == 0)
+ return "wallet-preferences";
+ else if (index == 1)
+ return "wallet-access-control";
+ else
+ return TQString::null;
+}
void TDEWalletConfig::defaults() {
load( true );
diff --git a/tdewallet/konfigurator/konfigurator.h b/tdewallet/konfigurator/konfigurator.h
index 3e29dd4..f133912 100644
--- a/tdewallet/konfigurator/konfigurator.h
+++ b/tdewallet/konfigurator/konfigurator.h
@@ -39,7 +39,8 @@ class TDEWalletConfig : public TDECModule {
void defaults();
TQString quickHelp() const;
-
+ virtual TQString handbookSection() const;
+
public slots:
void configChanged();
void launchManager();
diff --git a/tdewallet/konfigurator/tdewalletconfig.desktop b/tdewallet/konfigurator/tdewalletconfig.desktop
index 0467b4f..c40156f 100644
--- a/tdewallet/konfigurator/tdewalletconfig.desktop
+++ b/tdewallet/konfigurator/tdewalletconfig.desktop
@@ -2,7 +2,7 @@
Icon=tdewalletmanager
Type=Application
Exec=tdecmshell tdewalletconfig
-X-DocPath=tdewallet/index.html
+X-DocPath=tdewallet/tdewallet-kcontrol-module.html
X-TDE-ModuleType=Library
X-TDE-Library=tdewallet
X-TDE-ParentApp=kcontrol