From d2627113ba347e79699e280edcd0813265ae780f Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 19:56:36 +0000 Subject: TQt4 port kstreamripper This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kstreamripper@1239914 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/processcontroller.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'src/processcontroller.h') diff --git a/src/processcontroller.h b/src/processcontroller.h index 22183df..51696f7 100644 --- a/src/processcontroller.h +++ b/src/processcontroller.h @@ -21,10 +21,10 @@ #ifndef PROCESSCONTROLLER_H #define PROCESSCONTROLLER_H -#include -#include -#include -#include +#include +#include +#include +#include #include #if KDE_IS_VERSION(3,3,90) #include @@ -32,25 +32,26 @@ class ProcessListViewItem; -class ProcessController : public QObject +class ProcessController : public TQObject { Q_OBJECT + TQ_OBJECT public: - ProcessController(ProcessListViewItem * parent); + ProcessController(ProcessListViewItem * tqparent); ~ProcessController(); - bool getStatus(); + bool gettqStatus(); bool getAutomatic(); void setAutomatic(bool a); #if KDE_IS_VERSION(3,3,90) DNSSD::RemoteService::Ptr getService(); void setService(DNSSD::RemoteService::Ptr service); #endif - void setUrl(QString Url); - void setDescription(QString Description); - QString getUrl(); - QString getDescription(); - void startRip(QString destination, QString time); + void setUrl(TQString Url); + void setDescription(TQString Description); + TQString getUrl(); + TQString getDescription(); + void startRip(TQString destination, TQString time); void stopRip(); protected slots: @@ -58,14 +59,14 @@ protected slots: private: ProcessListViewItem * myParent; - bool myStatus; + bool mytqStatus; bool myAutomatic; #if KDE_IS_VERSION(3,3,90) DNSSD::RemoteService::Ptr myService; #endif - QProcess * myProcess; - QString myUrl; - QString myDescription; + TQProcess * myProcess; + TQString myUrl; + TQString myDescription; }; #endif -- cgit v1.2.3