Performance improvement on ARM

This commit is contained in:
Christophe Dumez
2011-01-25 17:04:55 +00:00
parent 5c8dd9f0fb
commit 8238c13dc0
5 changed files with 15 additions and 15 deletions

View File

@@ -76,11 +76,11 @@ public:
QTorrentHandle getTorrentHandle(QString hash) const;
std::vector<libtorrent::torrent_handle> getTorrents() const;
bool isFilePreviewPossible(QString fileHash) const;
float getPayloadDownloadRate() const;
float getPayloadUploadRate() const;
qreal getPayloadDownloadRate() const;
qreal getPayloadUploadRate() const;
libtorrent::session_status getSessionStatus() const;
int getListenPort() const;
float getRealRatio(QString hash) const;
qreal getRealRatio(QString hash) const;
QHash<QString, TrackerInfos> getTrackersInfo(QString hash) const;
bool hasActiveTorrents() const;
bool hasDownloadingTorrents() const;
@@ -129,7 +129,7 @@ public slots:
void setMaxUploadsPerTorrent(int max);
void setDownloadRateLimit(long rate);
void setUploadRateLimit(long rate);
void setMaxRatio(float ratio);
void setMaxRatio(qreal ratio);
void setDHTPort(int dht_port);
void setProxySettings(const libtorrent::proxy_settings &proxySettings);
void setSessionSettings(const libtorrent::session_settings &sessionSettings);
@@ -233,7 +233,7 @@ private:
// Settings
bool preAllocateAll;
bool addInPause;
float ratio_limit;
qreal ratio_limit;
int high_ratio_action;
bool UPnPEnabled;
bool LSDEnabled;