summaryrefslogtreecommitdiffstats
path: root/tdewallet
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-17 12:31:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-17 12:31:05 +0900
commite165344b256e37a3bdfb92ff68e103f27f498fb7 (patch)
tree5d03bc767ae0ffe0c84c24b2bb082f2255b746e9 /tdewallet
parentbd674122c28811a61d824f77663242458a06222f (diff)
downloadtdeutils-e165344b256e37a3bdfb92ff68e103f27f498fb7.tar.gz
tdeutils-e165344b256e37a3bdfb92ff68e103f27f498fb7.zip
Fixed help handbook sections for Security & Privary -> TDE Wallet. This relates to bug 1850.
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