summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/tracker.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/tracker.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/tracker.h')
-rw-r--r--libktorrent/torrent/tracker.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libktorrent/torrent/tracker.h b/libktorrent/torrent/tracker.h
index d254b63..a017f9e 100644
--- a/libktorrent/torrent/tracker.h
+++ b/libktorrent/torrent/tracker.h
@@ -44,6 +44,7 @@ namespace bt
class Tracker : public kt::PeerSource
{
Q_OBJECT
+ TQ_OBJECT
public:
Tracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
virtual ~Tracker();
@@ -55,7 +56,7 @@ namespace bt
* Set the custom IP
* @param str
*/
- static void setCustomIP(const QString & str);
+ static void setCustomIP(const TQString & str);
/// get the tracker url
KURL trackerURL() const {return url;}
@@ -97,13 +98,13 @@ namespace bt
Uint32 getNumLeechers() const {return leechers;}
/// Get the custom ip to use, null if none is set
- static QString getCustomIP();
+ static TQString getCustomIP();
signals:
/**
* Emitted when an error happens.
* @param failure_reason The reason why we couldn't reach the tracker
*/
- void requestFailed(const QString & failure_reason);
+ void requestFailed(const TQString & failure_reason);
/**
* Emitted when a stop is done.
@@ -128,7 +129,7 @@ namespace bt
Uint32 interval,seeders,leechers,key;
bool started;
private:
- //static QString custom_ip,custom_ip_resolved;
+ //static TQString custom_ip,custom_ip_resolved;
};
}