- Pause / resume in Web UI now updates the GUI

- Code cleanup
This commit is contained in:
Christophe Dumez 2008-12-29 18:36:54 +00:00
parent b58046b1fc
commit a848538d66
8 changed files with 37 additions and 42 deletions

View file

@ -160,6 +160,8 @@ class GUI : public QMainWindow, private Ui::MainWindow{
void finishedTorrent(QTorrentHandle& h) const;
void addedTorrent(QTorrentHandle& h) const;
void checkedTorrent(QTorrentHandle& h) const;
void pausedTorrent(QTorrentHandle& h) const;
void resumedTorrent(QTorrentHandle& h) const;
void updateLists(bool force=false);
bool initWebUi(QString username, QString password, int port);
void pauseTorrent(QString hash);