summaryrefslogtreecommitdiffstats
path: root/ktimer/ktimer.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-02-17 18:41:32 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-02-17 18:41:32 -0600
commit14327767a16efb4f18df6750ad2ffc547045e2ba (patch)
treef35adddcca5f29f385682f8605a707b7906776c9 /ktimer/ktimer.cpp
parentd569aa22af3da48356f80698e93ba86222174d49 (diff)
downloadtdeutils-14327767a16efb4f18df6750ad2ffc547045e2ba.tar.gz
tdeutils-14327767a16efb4f18df6750ad2ffc547045e2ba.zip
Add KTimer Help button to access help handbook.
This resolves bug report 1867.
Diffstat (limited to 'ktimer/ktimer.cpp')
-rw-r--r--ktimer/ktimer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ktimer/ktimer.cpp b/ktimer/ktimer.cpp
index de3eb4f..5ec2163 100644
--- a/ktimer/ktimer.cpp
+++ b/ktimer/ktimer.cpp
@@ -117,6 +117,7 @@ KTimerPref::KTimerPref( TQWidget *parent, const char *name )
// connect
connect( m_add, TQT_SIGNAL(clicked()), TQT_SLOT(add()) );
connect( m_remove, TQT_SIGNAL(clicked()), TQT_SLOT(remove()) );
+ connect( m_help, TQT_SIGNAL(clicked()), TQT_SLOT(help()) );
connect( m_list, TQT_SIGNAL(currentChanged(TQListViewItem*)),
TQT_SLOT(currentChanged(TQListViewItem*)) );
loadJobs( kapp->config() );
@@ -166,6 +167,12 @@ void KTimerPref::remove()
}
+void KTimerPref::help()
+{
+ kapp->invokeHelp();
+}
+
+
void KTimerPref::currentChanged( TQListViewItem *i )
{
KTimerJobItem *item = static_cast<KTimerJobItem*>(i);