libktorrent  2.1.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
bt::Job Class Reference

#include <job.h>

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

Public Member Functions

 Job (bool stop_torrent, TorrentControl *tc)
 
virtual void kill (bool quietly=true)
 
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.
 
virtual TorrentStatus torrentStatus () const
 Return the status of the torrent during the job (default implementation returns INVALID_STATUS)
 

Static Public Member Functions

static void setJobTracker (KJobTrackerInterface *trk)
 Set the job tracker.
 

Protected Member Functions

void registerWithTracker ()
 Register the job with the tracker.
 

Detailed Description

A Job is a KIO::Job which runs on a torrent

Definition at line 37 of file job.h.


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