- Save and load session state to remember it over different sessions

This commit is contained in:
Christophe Dumez
2008-11-02 13:19:27 +00:00
parent e5b6a5605a
commit 3282e1bcc9
3 changed files with 28 additions and 5 deletions

View File

@@ -113,6 +113,8 @@ class bittorrent : public QObject {
public slots:
void addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false);
void loadSessionState();
void saveSessionState();
void downloadFromUrl(QString url);
void downloadFromURLList(const QStringList& url_list);
void deleteTorrent(QString hash, bool permanent = false);