- Improved trackers errors code a lot and moved it to Bittorrent class

- When using startAll() command and when only some torrents are paused : already started torrents are not displayed as connecting untill next refresh anymore (they keep their current state).
This commit is contained in:
Christophe Dumez
2007-07-27 13:58:12 +00:00
parent ff9b9d7148
commit f839d6fe41
8 changed files with 52 additions and 53 deletions

View File

@@ -39,7 +39,7 @@ class properties : public QDialog, private Ui::properties{
QString fileHash;
PropListDelegate *PropDelegate;
QStandardItemModel *PropListModel;
QTimer *updateProgressTimer;
QTimer *updateInfosTimer;
bool has_filtered_files;
bool changedFilteredfiles;
bittorrent *BTSession;
@@ -50,7 +50,7 @@ class properties : public QDialog, private Ui::properties{
void on_incrementalDownload_stateChanged(int);
void setRowColor(int row, QString color);
void savePiecesPriorities();
void updateProgress();
void updateInfos();
void loadPiecesPriorities();
void setAllPiecesState(unsigned short priority);
void askForTracker();
@@ -68,6 +68,7 @@ class properties : public QDialog, private Ui::properties{
void saveWebSeeds();
void loadWebSeedsFromFile();
void deleteSelectedUrlSeeds();
void loadTrackersErrors();
signals:
void filteredFilesChanged(QString fileHash);
@@ -76,7 +77,7 @@ class properties : public QDialog, private Ui::properties{
public:
// Constructor
properties(QWidget *parent, bittorrent *BTSession, torrent_handle &h, QStringList trackerErrors = QStringList());
properties(QWidget *parent, bittorrent *BTSession, torrent_handle &h);
~properties();
};