mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
- Made torrent deletion from hard-drive safer
This commit is contained in:
@@ -23,9 +23,11 @@
|
||||
#define QTORRENTHANDLE_H
|
||||
|
||||
#include <libtorrent/torrent_handle.hpp>
|
||||
#include <libtorrent/torrent_info.hpp>
|
||||
using namespace libtorrent;
|
||||
|
||||
class QString;
|
||||
class QStringList;
|
||||
|
||||
// A wrapper for torrent_handle in libtorrent
|
||||
// to interact well with Qt types
|
||||
@@ -81,6 +83,7 @@ class QTorrentHandle {
|
||||
void file_progress(std::vector<float>& fp);
|
||||
size_type total_payload_download();
|
||||
size_type total_payload_upload();
|
||||
QStringList files_path() const;
|
||||
|
||||
//
|
||||
// Setters
|
||||
|
||||
Reference in New Issue
Block a user