- Rewritten most of the code for options

- Fix: Could only listen on the 1st port of given range
- Fix: Option "use torrent addition dialog" wasn't saved correctly
This commit is contained in:
Christophe Dumez 2006-11-14 20:26:32 +00:00
parent 719ac93024
commit 0722195cad
3 changed files with 196 additions and 333 deletions

View file

@ -42,8 +42,8 @@ class options_imp : public QDialog, private Ui::Dialog{
options_imp(QWidget *parent=0);
// Methods
bool saveOptions();
bool loadOptions();
void saveOptions();
void loadOptions();
// Main options
std::pair<unsigned short, unsigned short> getPorts() const;
QPair<int,int> getLimits() const;