20 #ifndef BT_TRACKERINTERFACE_H
21 #define BT_TRACKERINTERFACE_H
25 #include <ktorrent_export.h>
26 #include <util/constants.h>
32 TRACKER_OK,TRACKER_ANNOUNCING,TRACKER_ERROR,TRACKER_IDLE
101 QDateTime request_time;
109 #endif // BT_TRACKERINTERFACE_H
Uint32 getInterval() const
int getTotalTimesDownloaded() const
Get the number of times the torrent was downloaded.
int getNumSeeders() const
Get the number of seeders.
QString trackerStatusString() const
Get a string of the current tracker status.
bool isStarted() const
See if a start request succeeded.
bool timeOut() const
Is tracker timed out.
virtual void reset()
Reset the tracker.
void setEnabled(bool on)
Enable or disable the tracker.
void setInterval(Uint32 i)
Set the interval.
QUrl trackerURL() const
get the tracker url
int getNumLeechers() const
Get the number of leechers.
TrackerStatus trackerStatus() const
Get the tracker status.
Uint32 timeToNextUpdate() const
Get the time in seconds to the next tracker update.
bool isEnabled() const
Is the tracker enabled.
bool hasWarning() const
Is there any warnings.