- Upload/download limits per torrent are now saved on restart. I can't test this feature yet though because libtorrent is crashing when I try to use it :)

This commit is contained in:
Christophe Dumez
2007-07-14 13:38:29 +00:00
parent 28ea505088
commit f0353e50b2
4 changed files with 67 additions and 21 deletions

View File

@@ -109,6 +109,8 @@ class bittorrent : public QObject{
void setTorrentFinishedChecking(QString hash);
void resumeUnfinishedTorrents();
void updateETAs();
void saveTorrentSpeedLimits(QString hash);
void loadTorrentSpeedLimits(QString hash);
// Session configuration - Setters
void setListeningPortsRange(std::pair<unsigned short, unsigned short> ports);
void setMaxConnections(int maxConnec);
@@ -121,6 +123,8 @@ class bittorrent : public QObject{
void setDefaultSavePath(const QString& savepath);
void applyEncryptionSettings(pe_settings se);
void loadFilesPriorities(torrent_handle& h);
void setDownloadLimit(QString hash, int val);
void setUploadLimit(QString hash, int val);
protected slots:
void cleanDeleter(deleteThread* deleter);