diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kstreamripper.cpp | 7 | ||||
-rw-r--r-- | src/kstreamripper.h | 7 | ||||
-rw-r--r-- | src/kstreamripperbase.ui | 8 |
3 files changed, 19 insertions, 3 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp index 74842b1..d04e512 100644 --- a/src/kstreamripper.cpp +++ b/src/kstreamripper.cpp @@ -25,6 +25,7 @@ #include <tdefiledialog.h> #include <tdeaboutapplication.h> +#include <tdeapplication.h> #include <tqpushbutton.h> #include <tqlistview.h> #include <tqlineedit.h> @@ -96,6 +97,7 @@ KStreamRipper::KStreamRipper( TQWidget* parent, const char* name ) connect(m_ripButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(ripButtonClicked())); connect(m_stopRipButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(stopRipButtonClicked())); connect(m_browseButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(browseButtonClicked())); + connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(helpButtonClicked())); connect(m_aboutButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(aboutButtonClicked())); connect(m_quitButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(quitButtonClicked())); @@ -243,6 +245,11 @@ void KStreamRipper::browseButtonClicked() m_destEdit->setText( openDest ); } +void KStreamRipper::helpButtonClicked() +{ + kapp->invokeHelp( TQString(), "kstreamripper" ); +} + void KStreamRipper::aboutButtonClicked() { TDEAboutApplication *aboutApp = new TDEAboutApplication(); diff --git a/src/kstreamripper.h b/src/kstreamripper.h index b274929..b8b0baf 100644 --- a/src/kstreamripper.h +++ b/src/kstreamripper.h @@ -42,7 +42,7 @@ class KStreamRipper : public KStreamRipperBase public: - + KStreamRipper( TQWidget* parent = 0, const char* name = 0 ); ~KStreamRipper(); @@ -59,13 +59,14 @@ protected slots: void ripButtonClicked(); void stopRipButtonClicked(); void browseButtonClicked(); + void helpButtonClicked(); void aboutButtonClicked(); void quitButtonClicked(); - + void selectedNewListItem(); void descriptionChanged(); void urlChanged(); - + void addStreamFinished( AddNewStreamImpl* ); #if KDE_IS_VERSION(3,3,90) void serviceAdded(DNSSD::RemoteService::Ptr srv); diff --git a/src/kstreamripperbase.ui b/src/kstreamripperbase.ui index 5079c5e..0642c6f 100644 --- a/src/kstreamripperbase.ui +++ b/src/kstreamripperbase.ui @@ -54,6 +54,14 @@ </property> <widget class="TQPushButton"> <property name="name"> + <cstring>m_helpButton</cstring> + </property> + <property name="text"> + <string>&Help</string> + </property> + </widget> + <widget class="TQPushButton"> + <property name="name"> <cstring>m_aboutButton</cstring> </property> <property name="text"> |