summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/authenticatebase.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/torrent/authenticatebase.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;