- Can have different proxy settings for bittorrent and search engine (closes #274791)

This commit is contained in:
Christophe Dumez
2008-09-27 09:12:41 +00:00
parent 2931d51add
commit 139360cf76
60 changed files with 3322 additions and 2683 deletions

View File

@@ -82,17 +82,6 @@ class options_imp : public QDialog, private Ui::Dialog {
bool isUPnPEnabled() const;
bool isNATPMPEnabled() const;
QPair<int,int> getGlobalBandwidthLimits() const;
bool isProxyEnabled() const;
bool isProxyAuthEnabled() const;
QString getProxyIp() const;
unsigned short getProxyPort() const;
QString getProxyUsername() const;
QString getProxyPassword() const;
int getProxyType() const;
bool useProxyForTrackers() const;
bool useProxyForPeers() const;
bool useProxyForWebseeds() const;
bool useProxyForDHT() const;
// Bittorrent options
int getMaxConnecs() const;
int getMaxConnecsPerTorrent() const;
@@ -105,6 +94,25 @@ class options_imp : public QDialog, private Ui::Dialog {
int getEncryptionSetting() const;
float getDesiredRatio() const;
float getDeleteRatio() const;
// Proxy options
bool isHTTPProxyEnabled() const;
bool isHTTPProxyAuthEnabled() const;
QString getHTTPProxyIp() const;
unsigned short getHTTPProxyPort() const;
QString getHTTPProxyUsername() const;
QString getHTTPProxyPassword() const;
int getHTTPProxyType() const;
bool isProxyEnabled() const;
bool isProxyAuthEnabled() const;
QString getProxyIp() const;
unsigned short getProxyPort() const;
QString getProxyUsername() const;
QString getProxyPassword() const;
int getProxyType() const;
bool useProxyForTrackers() const;
bool useProxyForPeers() const;
bool useProxyForWebseeds() const;
bool useProxyForDHT() const;
// IP Filter
bool isFilteringEnabled() const;
QString getFilter() const;
@@ -123,6 +131,8 @@ class options_imp : public QDialog, private Ui::Dialog {
void enableDirScan(int checkBoxValue);
void enableProxy(int comboIndex);
void enableProxyAuth(int checkBoxValue);
void enableProxyHTTP(int comboIndex);
void enableProxyAuthHTTP(int checkBoxValue);
void enableMaxConnecsLimit(int);
void enableMaxConnecsLimitPerTorrent(int checkBoxValue);
void enableMaxUploadsLimitPerTorrent(int checkBoxValue);