summaryrefslogtreecommitdiffstats
path: root/src/kchmsetupdialog.cpp
diff options
context:
space:
mode:
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
*/