summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/engine/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/engine/thread.h')
-rw-r--r--kftpgrabber/src/engine/thread.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kftpgrabber/src/engine/thread.h b/kftpgrabber/src/engine/thread.h
index 62a36c4..c2977c3 100644
--- a/kftpgrabber/src/engine/thread.h
+++ b/kftpgrabber/src/engine/thread.h
@@ -36,10 +36,10 @@
#ifndef KFTPENGINETHREAD_H
#define KFTPENGINETHREAD_H
-#include <qthread.h>
-#include <qmutex.h>
-#include <qvaluelist.h>
-#include <qdict.h>
+#include <ntqthread.h>
+#include <ntqmutex.h>
+#include <ntqvaluelist.h>
+#include <ntqdict.h>
#include "event.h"
#include "directorylisting.h"
@@ -55,7 +55,7 @@ namespace KFTPEngine {
*
* @author Jernej Kos <kostko@jweb-network.net>
*/
-class Thread : public QThread
+class Thread : public TQThread
{
friend class EventHandler;
friend class Socket;
@@ -103,25 +103,25 @@ public:
void rename(const KURL &source, const KURL &destination);
void chmod(const KURL &url, int mode, bool recursive = false);
void mkdir(const KURL &url);
- void raw(const QString &raw);
+ void raw(const TQString &raw);
void siteToSite(Thread *thread, const KURL &source, const KURL &destination);
protected:
void run();
- void event(Event::Type type, QValueList<EventParameter> params);
+ void event(Event::Type type, TQValueList<EventParameter> params);
EventParameter nextCommandParameter();
protected:
EventHandler *m_eventHandler;
Socket *m_socket;
- QMutex m_eventMutex;
- QMutex m_wakeupMutex;
- QMutex m_paramsMutex;
- QMutex m_queueMutex;
+ TQMutex m_eventMutex;
+ TQMutex m_wakeupMutex;
+ TQMutex m_paramsMutex;
+ TQMutex m_queueMutex;
- QDict<Socket> m_protocolMap;
- QValueList<Commands::Type> m_commandQueue;
- QValueList<EventParameter> m_commandParams;
+ TQDict<Socket> m_protocolMap;
+ TQValueList<Commands::Type> m_commandQueue;
+ TQValueList<EventParameter> m_commandParams;
WakeupEvent *m_wakeupEvent;
bool m_abortLoop;