mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 10:37:06 -07:00
- Made torrent deletion from hard-drive safer
This commit is contained in:
parent
680f6409d8
commit
e82cb2188e
7 changed files with 125 additions and 140 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue