From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: 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 --- libktorrent/torrent/authenticate.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libktorrent/torrent/authenticate.h') 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; -- cgit v1.2.1