summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/authenticate.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/authenticate.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/authenticate.h')
-rw-r--r--libktorrent/torrent/authenticate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libktorrent/torrent/authenticate.h b/libktorrent/torrent/authenticate.h
index 03c8d75..36e6d05 100644
--- a/libktorrent/torrent/authenticate.h
+++ b/libktorrent/torrent/authenticate.h
@@ -44,6 +44,7 @@ namespace bt
class Authenticate : public AuthenticateBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -54,7 +55,7 @@ namespace bt
* @param peer_id Peer ID
* @param pman PeerManager
*/
- Authenticate(const QString & ip,Uint16 port,
+ Authenticate(const TQString & ip,Uint16 port,
const SHA1Hash & info_hash,const PeerID & peer_id,
PeerManager* pman);
@@ -73,7 +74,7 @@ namespace bt
/// See if the authentication is succesfull
bool isSuccesfull() const {return succes;}
- const QString & getIP() const {return host;}
+ const TQString & getIP() const {return host;}
Uint16 getPort() const {return port;}
protected slots:
@@ -88,7 +89,7 @@ namespace bt
protected:
SHA1Hash info_hash;
PeerID our_peer_id,peer_id;
- QString host;
+ TQString host;
Uint16 port;
bool succes;
PeerManager* pman;