summaryrefslogtreecommitdiffstats
path: root/src/processcontroller.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 19:56:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 19:56:36 +0000
commitd2627113ba347e79699e280edcd0813265ae780f (patch)
tree47b1d592ac3d522fdc5c755f576970137cbb1169 /src/processcontroller.h
parent2e77c0b4ce1781d87a532022d8ebaccff0fb2b17 (diff)
downloadkstreamripper-d2627113ba347e79699e280edcd0813265ae780f.tar.gz
kstreamripper-d2627113ba347e79699e280edcd0813265ae780f.zip
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
Diffstat (limited to 'src/processcontroller.h')
-rw-r--r--src/processcontroller.h33
1 files changed, 17 insertions, 16 deletions
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 <qprocess.h>
-#include <qstring.h>
-#include <qtimer.h>
-#include <qobject.h>
+#include <tqprocess.h>
+#include <tqstring.h>
+#include <tqtimer.h>
+#include <tqobject.h>
#include <kdeversion.h>
#if KDE_IS_VERSION(3,3,90)
#include <dnssd/remoteservice.h>
@@ -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