|
libktorrent
2.1.1
|
#include <deletedatafilesjob.h>

Public Member Functions | |
| DeleteDataFilesJob (const QString &base) | |
| void | addEmptyDirectoryCheck (const QString &fpath) |
| void | addFile (const QString &file) |
| void | kill (bool quietly) override |
| Kill the job. | |
| void | start () override |
| Start the job. | |
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. | |
| TorrentControl * | torrent () |
| 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) | |
Additional Inherited Members | |
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. | |
Definition at line 55 of file deletedatafilesjob.h.
| bt::DeleteDataFilesJob::DeleteDataFilesJob | ( | const QString & | base | ) |
| base | Base directory, the data files are in |
| void bt::DeleteDataFilesJob::addEmptyDirectoryCheck | ( | const QString & | fpath | ) |
Check all directories in fpath and delete them if they are empty. The base path passed in the constructor, will be prepended to fpath.
| fpath | The file path |
| void bt::DeleteDataFilesJob::addFile | ( | const QString & | file | ) |
Add a file to delete
| file | File |
1.8.18