summaryrefslogtreecommitdiffstats
path: root/src/kchmsetupdialog.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2014-02-19 18:58:08 -0600
committerDarrell Anderson <[email protected]>2014-02-19 18:58:08 -0600
commit3aef1afb880077b776d9807b1186a6744d851760 (patch)
treeba6d616189cae07cc1ddf9e569890572e1941f57 /src/kchmsetupdialog.cpp
parentb0f8ab59e81eae96dcd0adf27b29f9651e550d5d (diff)
downloadkchmviewer-3aef1afb880077b776d9807b1186a6744d851760.tar.gz
kchmviewer-3aef1afb880077b776d9807b1186a6744d851760.zip
Add help handbook, add DocPath, rename files.
Diffstat (limited to 'src/kchmsetupdialog.cpp')
-rw-r--r--src/kchmsetupdialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kchmsetupdialog.cpp b/src/kchmsetupdialog.cpp
index c7e8b6b..592db23 100644
--- a/src/kchmsetupdialog.cpp
+++ b/src/kchmsetupdialog.cpp
@@ -23,6 +23,7 @@
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
+#include <tdeapplication.h>
/*
* Constructs a KCHMSetupDialog as a child of 'parent', with the
@@ -277,6 +278,7 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
clearWState( WState_Polished );
// signals and slots connections
+ connect( buttonHelp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotShowHelp() ) );
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
connect( m_radioUseTDEHTMLPart, TQT_SIGNAL( toggled(bool) ), groupKhtmlSecurity, TQT_SLOT( setEnabled(bool) ) );
@@ -311,6 +313,11 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
setTabOrder( buttonOk, buttonCancel );
}
+void KCHMSetupDialog::slotShowHelp()
+{
+ kapp->invokeHelp( TQString(), "kchmviewer" );
+}
+
/*
* Destroys the object and frees any allocated resources
*/