summaryrefslogtreecommitdiffstats
path: root/kget/slave.h
diff options
context:
space:
mode:
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;
};