- Fixed pause/resume actions in Web UI

This commit is contained in:
Christophe Dumez
2008-12-27 10:14:16 +00:00
parent 7a1af536b6
commit 81aac9ebcc
2 changed files with 16 additions and 0 deletions

View File

@@ -106,8 +106,12 @@ class bittorrent : public QObject {
void downloadFromUrl(QString url);
void downloadFromURLList(const QStringList& url_list);
void deleteTorrent(QString hash, bool permanent = false);
/* Needed by Web UI */
void pauseAllTorrents();
void resumeAllTorrents();
void pauseTorrent(QString hash);
void resumeTorrent(QString hash);
/* End Web UI */
void saveDHTEntry();
void preAllocateAllFiles(bool b);
void saveFastResumeData();