libktorrent
2.2.0
|
Job which runs a DataChecker. More...
#include <datacheckerjob.h>
Public Member Functions | |
DataCheckerJob (bool auto_import, TorrentControl *tc, bt::Uint32 from, bt::Uint32 to) | |
bt::Uint32 | firstChunk () const |
Get the first chunk the datacheck was started from. | |
bool | isAutoImport () const |
Is this an automatic import. | |
bool | isStopped () const |
Was the job stopped. | |
void | kill (bool quietly=true) override |
bt::Uint32 | lastChunk () const |
Get the last chunk of the datacheck. | |
void | start () override |
TorrentStatus | torrentStatus () const override |
Return the status of the torrent during the job (default implementation returns INVALID_STATUS) | |
![]() | |
Job (bool stop_torrent, TorrentControl *tc) | |
void | setTorrent (TorrentControl *t) |
Set the torrent associated with this job. | |
void | start () override |
bool | stopTorrent () const |
Do we need to stop the torrent when the job is running. | |
TorrentControl * | torrent () |
Get the torrent associated with this job. | |
![]() | |
Resource (ResourceManager *rman, const QString &group) | |
QString | groupName () const |
Get the name of the group the resource is part of. | |
void | release () |
Release the Resource. | |
Additional Inherited Members | |
![]() | |
typedef QList< Resource * > | List |
typedef QSet< Resource * > | Set |
![]() | |
static void | setJobTracker (KJobTrackerInterface *trk) |
Set the job tracker. | |
![]() | |
void | registerWithTracker () |
Register the job with the tracker. | |
Definition at line 50 of file datacheckerjob.h.