21 #ifndef BTWEBSEEDINTERFACE_H
22 #define BTWEBSEEDINTERFACE_H
25 #include <ktorrent_export.h>
26 #include <util/constants.h>
47 const QUrl &
getUrl()
const {
return url;}
63 Uint64 total_downloaded;
const QUrl & getUrl() const
Get the URL of the webseed.
Uint64 getTotalDownloaded() const
Get how much data was downloaded.
bool isEnabled() const
Whether or not the webseed is enabled.
bool isUserCreated() const
Whether or not this webseed was user created.
virtual void setEnabled(bool on)
Disable or enable the webseed.
QString getStatus() const
Get the present status in string form.
virtual Uint32 getDownloadRate() const =0
Get the current download rate in bytes per sec.