libktorrent  2.1.1
Public Member Functions | Protected Attributes | List of all members
bt::WebSeedInterface Class Referenceabstract

#include <webseedinterface.h>

Inheritance diagram for bt::WebSeedInterface:
Inheritance graph
[legend]

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
 

Detailed Description

Interface for WebSeeds

Definition at line 53 of file webseedinterface.h.


The documentation for this class was generated from the following file: