mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
- Moved v1.0.x to a branch so that we work on v1.1.x in trunk
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <libtorrent/torrent_handle.hpp>
|
||||
#include <libtorrent/torrent_info.hpp>
|
||||
|
||||
using namespace libtorrent;
|
||||
|
||||
class QString;
|
||||
@@ -58,7 +59,7 @@ class QTorrentHandle {
|
||||
bool is_paused() const;
|
||||
bool has_filtered_pieces() const;
|
||||
// size_type total_size() const;
|
||||
size_type total_done() const;
|
||||
size_type total_wanted_done() const;
|
||||
float download_payload_rate() const;
|
||||
float upload_payload_rate() const;
|
||||
int num_peers() const;
|
||||
@@ -96,6 +97,7 @@ class QTorrentHandle {
|
||||
void remove_url_seed(QString seed);
|
||||
void add_url_seed(QString seed);
|
||||
void set_max_uploads(int val);
|
||||
void set_max_connections(int val);
|
||||
void prioritize_files(std::vector<int> v);
|
||||
void set_ratio(float ratio) const;
|
||||
void replace_trackers(std::vector<announce_entry> const&) const;
|
||||
|
||||
Reference in New Issue
Block a user