diff options
Diffstat (limited to 'libktorrent/torrent/upspeedestimater.cpp')
-rw-r--r-- | libktorrent/torrent/upspeedestimater.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/torrent/upspeedestimater.cpp b/libktorrent/torrent/upspeedestimater.cpp index 0d6c544..08137f5 100644 --- a/libktorrent/torrent/upspeedestimater.cpp +++ b/libktorrent/torrent/upspeedestimater.cpp @@ -50,7 +50,7 @@ namespace bt void UpSpeedEstimater::bytesWritten(Uint32 bytes) { - QValueList<Entry>::iterator i = outstanding_bytes.begin(); + TQValueList<Entry>::iterator i = outstanding_bytes.begin(); TimeStamp now = GetCurrentTime(); while (bytes > 0 && i != outstanding_bytes.end()) { @@ -84,7 +84,7 @@ namespace bt } } - double UpSpeedEstimater::rate(QValueList<Entry> & el) + double UpSpeedEstimater::rate(TQValueList<Entry> & el) { TimeStamp now = GetCurrentTime(); const Uint32 INTERVAL = 3000; @@ -92,7 +92,7 @@ namespace bt Uint32 tot_bytes = 0; Uint32 oldest_time = now; - QValueList<Entry>::iterator i = el.begin(); + TQValueList<Entry>::iterator i = el.begin(); while (i != el.end()) { Entry & e = *i; |