Add KTimer Help button to access help handbook.

This resolves bug report 1867.
pull/1/head
Darrell Anderson 10 years ago
parent d569aa22af
commit 14327767a1

@ -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);

@ -99,6 +99,7 @@ class KTimerPref : public PrefWidget
protected slots:
void add();
void remove();
void help();
void currentChanged( TQListViewItem * );
void saveJobs( TDEConfig *cfg );

@ -96,7 +96,15 @@
<string>&amp;Remove</string>
</property>
</widget>
<spacer row="2" column="1">
<widget class="TQPushButton" row="2" column="1">
<property name="name">
<cstring>m_help</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
<spacer row="3" column="1">
<property name="name">
<cstring>Spacer4</cstring>
</property>

Loading…
Cancel
Save