- Label counters are now properly updated (and labeling seems to work fine)

This commit is contained in:
Christophe Dumez 2009-12-16 13:09:30 +00:00
commit edb6857de0
3 changed files with 96 additions and 8 deletions

View file

@ -58,6 +58,7 @@ private:
public:
TransferListWidget(QWidget *parent, GUI *main_window, Bittorrent* BTSession);
~TransferListWidget();
int getNbTorrents() const;
protected:
int getRowFromHash(QString hash) const;
@ -120,8 +121,9 @@ public slots:
signals:
void currentTorrentChanged(QTorrentHandle &h);
void torrentStatusUpdate(unsigned int nb_downloading, unsigned int nb_seeding, unsigned int nb_active, unsigned int nb_inactive);
void newLabel(QString label);
void torrentAdded(QModelIndex index);
void torrentAboutToBeRemoved(QModelIndex index);
void torrentChangedLabel(QString old_label, QString new_label);
};
#endif // TRANSFERLISTWIDGET_H