libktorrent  2.1.1
Public Member Functions | List of all members
bt::DataCheckerJob Class Reference

Job which runs a DataChecker. More...

#include <datacheckerjob.h>

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

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)
 
- Public Member Functions inherited from bt::Job
 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.
 
TorrentControltorrent ()
 Get the torrent associated with this job.
 
- Public Member Functions inherited from bt::Resource
 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

- Public Types inherited from bt::Resource
typedef QList< Resource * > List
 
typedef QSet< Resource * > Set
 
- Static Public Member Functions inherited from bt::Job
static void setJobTracker (KJobTrackerInterface *trk)
 Set the job tracker.
 
- Protected Member Functions inherited from bt::Job
void registerWithTracker ()
 Register the job with the tracker.
 

Detailed Description

Definition at line 50 of file datacheckerjob.h.


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