diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/torrent/peerid.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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/peerid.h')
-rw-r--r-- | libktorrent/torrent/peerid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/torrent/peerid.h b/libktorrent/torrent/peerid.h index 90ba439..8ebea9a 100644 --- a/libktorrent/torrent/peerid.h +++ b/libktorrent/torrent/peerid.h @@ -20,7 +20,7 @@ #ifndef BTPEERID_H #define BTPEERID_H -#include <qstring.h> +#include <tqstring.h> namespace bt { @@ -31,7 +31,7 @@ namespace bt class PeerID { char id[20]; - QString client_name; + TQString client_name; public: PeerID(); PeerID(const char* pid); @@ -42,14 +42,14 @@ namespace bt const char* data() const {return id;} - QString toString() const; + TQString toString() const; /** * Interprets the PeerID to figure out which client it is. * @author Ivan + Joris * @return The name of the client */ - QString identifyClient() const; + TQString identifyClient() const; friend bool operator == (const PeerID & a,const PeerID & b); friend bool operator != (const PeerID & a,const PeerID & b); |