- Added back trackers display in torrent properties

This commit is contained in:
Christophe Dumez 2009-11-08 16:19:21 +00:00
parent c756412ee6
commit cee9ece4c7
4 changed files with 338 additions and 4 deletions

View file

@ -40,6 +40,9 @@ class QTimer;
class RealProgressBar;
class QVBoxLayout;
class RealProgressBarThread;
class bittorrent;
enum Tab {MAIN_TAB, TRACKERS_TAB, URLSEEDS_TAB, FILES_TAB};
class PropertiesWidget : public QWidget, private Ui::PropertiesWidget {
Q_OBJECT
@ -51,14 +54,18 @@ private:
RealProgressBar *progressBar;
RealProgressBarThread *progressBarUpdater;
QVBoxLayout *progressBarVbox;
bittorrent* BTSession;
protected slots:
void loadTorrentInfos(QTorrentHandle &h);
void loadDynamicData();
void setIncrementalDownload(int checkboxState);
void loadTrackers();
void on_main_infos_button_clicked();
void on_trackers_button_clicked();
public:
PropertiesWidget(QWidget *parent, TransferListWidget *transferList);
PropertiesWidget(QWidget *parent, TransferListWidget *transferList, bittorrent* BTSession);
~PropertiesWidget();
};