- FEATURE: Allow to set a different port for DHT (UDP) than the one used for

Bittorrent
This commit is contained in:
Christophe Dumez
2009-07-14 07:50:00 +00:00
parent b6c6637c3b
commit ee6bc3c2e9
6 changed files with 113 additions and 7 deletions

View File

@@ -97,6 +97,8 @@ class options_imp : public QDialog, private Ui::Dialog {
int getMaxConnecsPerTorrent() const;
int getMaxUploadsPerTorrent() const;
bool isDHTEnabled() const;
bool isDHTPortSameAsBT() const;
int getDHTPort() const;
bool isPeXEnabled() const;
bool isLSDEnabled() const;
bool isRSSEnabled() const;
@@ -152,6 +154,7 @@ class options_imp : public QDialog, private Ui::Dialog {
void enableDeleteRatio(int checkBoxValue);
void enableFilter(int checkBoxValue);
void enableRSS(int checkBoxValue);
void enableDHTPortSettings(int checkBoxValue);
void enableQueueingSystem(int checkBoxValue);
void setStyle(int style);
void on_buttonBox_accepted();