summaryrefslogtreecommitdiffstats
path: root/kget/slave.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kget/slave.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/slave.h')
-rw-r--r--kget/slave.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kget/slave.h b/kget/slave.h
index 670b418b..1bb2635c 100644
--- a/kget/slave.h
+++ b/kget/slave.h
@@ -27,12 +27,12 @@
#ifndef SLAVE_H
#define SLAVE_H
-#include <qthread.h>
+#include <tqthread.h>
#include <kurl.h>
-#include <qvaluestack.h>
-#include <qwaitcondition.h>
-#include <qmutex.h>
-#include <qobject.h>
+#include <tqvaluestack.h>
+#include <tqwaitcondition.h>
+#include <tqmutex.h>
+#include <tqobject.h>
#include "common.h"
@@ -43,7 +43,7 @@ namespace KIO
class Transfer;
-class Slave:public QObject, public QThread
+class Slave:public TQObject, public QThread
{
Q_OBJECT
@@ -77,14 +77,14 @@ private slots:
void slotTotalSize(KIO::Job *, KIO::filesize_t);
void slotProcessedSize(KIO::Job *, KIO::filesize_t);
void slotSpeed(KIO::Job *, unsigned long);
- void slotInfoMessage(KIO::Job *, const QString &);
+ void slotInfoMessage(KIO::Job *, const TQString &);
private:
void Connect();
void PostMessage(SlaveResult _event, Q_ULLONG _data = 0L);
- void PostMessage(SlaveResult _event, const QString & _msg);
- void InfoMessage(const QString & _msg);
+ void PostMessage(SlaveResult _event, const TQString & _msg);
+ void InfoMessage(const TQString & _msg);
Transfer * m_parent;
@@ -94,9 +94,9 @@ private:
Slave::SlaveCommand fetch_cmd();
int nPendingCommand;
- QValueStack < SlaveCommand > stack;
- QWaitCondition worker;
- QMutex mutex;
+ TQValueStack < SlaveCommand > stack;
+ TQWaitCondition worker;
+ TQMutex mutex;
KIO::GetFileJob * copyjob;
};