Collect and save alltime UL/DL samples

This commit is contained in:
Nick Tiskov 2013-11-14 23:56:13 +04:00
commit 687e7a1343
4 changed files with 51 additions and 4 deletions

View file

@ -2778,6 +2778,14 @@ qlonglong QBtSession::getETA(const QString &hash) const
return m_speedMonitor->getETA(hash);
}
quint64 QBtSession::getAlltimeDL() const {
return m_speedMonitor->getAlltimeDL();
}
quint64 QBtSession::getAlltimeUL() const {
return m_speedMonitor->getAlltimeUL();
}
void QBtSession::handleIPFilterParsed(int ruleCount)
{
addConsoleMessage(tr("Successfully parsed the provided IP filter: %1 rules were applied.", "%1 is a number").arg(ruleCount));