mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
- Supports SOCKS5 proxies as well as HTTP ones
- Allow to use Proxy for Trackers / Peers / Web seeds / DHT connections - Redesigned Proxy options a little (for new features)
This commit is contained in:
parent
2985fa921a
commit
2196fcc911
7 changed files with 219 additions and 10 deletions
|
@ -27,6 +27,11 @@
|
|||
#include <libtorrent/session.hpp>
|
||||
#include <libtorrent/ip_filter.hpp>
|
||||
|
||||
#define HTTP 0
|
||||
#define SOCKS5 1
|
||||
#define HTTP_PW 2
|
||||
#define SOCKS5_PW 3
|
||||
|
||||
using namespace libtorrent;
|
||||
|
||||
class options_imp : public QDialog, private Ui::Dialog{
|
||||
|
@ -69,6 +74,11 @@ class options_imp : public QDialog, private Ui::Dialog{
|
|||
unsigned short getProxyPort() const;
|
||||
QString getProxyUsername() const;
|
||||
QString getProxyPassword() const;
|
||||
unsigned short getProxyType() const;
|
||||
bool useProxyForTrackers() const;
|
||||
bool useProxyForPeers() const;
|
||||
bool useProxyForWebseeds() const;
|
||||
bool useProxyForDHT() const;
|
||||
// Language Settings
|
||||
QString getLocale() const;
|
||||
// Misc Settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue