summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/authenticatebase.h
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/torrent/authenticatebase.h')
-rw-r--r--libktorrent/torrent/authenticatebase.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libktorrent/torrent/authenticatebase.h b/libktorrent/torrent/authenticatebase.h
index fdab158..87c851b 100644
--- a/libktorrent/torrent/authenticatebase.h
+++ b/libktorrent/torrent/authenticatebase.h
@@ -20,9 +20,9 @@
#ifndef BTAUTHENTICATEBASE_H
#define BTAUTHENTICATEBASE_H
-#include <qobject.h>
-#include <qsocket.h>
-#include <qtimer.h>
+#include <tqobject.h>
+#include <tqsocket.h>
+#include <tqtimer.h>
#include <util/constants.h>
@@ -45,9 +45,10 @@ namespace bt
* It has a socket, handles the timing out, provides a function to send
* the handshake.
*/
- class AuthenticateBase : public QObject
+ class AuthenticateBase : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
AuthenticateBase(mse::StreamSocket* s = 0);
virtual ~AuthenticateBase();
@@ -111,7 +112,7 @@ namespace bt
protected:
mse::StreamSocket* sock;
- QTimer timer;
+ TQTimer timer;
bool finished;
Uint8 handshake[68];
Uint32 bytes_of_handshake_recieved;