libktorrent
2.1.1
|
#include <webseedinterface.h>
Public Member Functions | |
WebSeedInterface (const QUrl &url, bool user) | |
virtual Uint32 | getDownloadRate () const =0 |
Get the current download rate in bytes per sec. | |
QString | getStatus () const |
Get the present status in string form. | |
Uint64 | getTotalDownloaded () const |
Get how much data was downloaded. | |
const QUrl & | getUrl () const |
Get the URL of the webseed. | |
bool | isEnabled () const |
Wether 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. | |
Protected Attributes | |
bool | enabled |
QString | status |
Uint64 | total_downloaded |
QUrl | url |
bool | user |
Interface for WebSeeds
Definition at line 53 of file webseedinterface.h.