diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/torrent/upspeedestimater.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip |
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libktorrent/torrent/upspeedestimater.h')
-rw-r--r-- | libktorrent/torrent/upspeedestimater.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/torrent/upspeedestimater.h b/libktorrent/torrent/upspeedestimater.h index 6503499..27c0c06 100644 --- a/libktorrent/torrent/upspeedestimater.h +++ b/libktorrent/torrent/upspeedestimater.h @@ -20,7 +20,7 @@ #ifndef BTUPSPEEDESTIMATER_H #define BTUPSPEEDESTIMATER_H -#include <qvaluelist.h> +#include <tqvaluelist.h> #include <util/constants.h> namespace bt @@ -68,16 +68,16 @@ namespace bt /// Get the protocol overhead double protocollOverhead() const {return proto_upload_rate;} private: - double rate(QValueList<Entry> & el); + double rate(TQValueList<Entry> & el); private: double upload_rate; double proto_upload_rate; Uint32 accumulated_bytes; - QValueList<Entry> outstanding_bytes; - QValueList<Entry> written_bytes; + TQValueList<Entry> outstanding_bytes; + TQValueList<Entry> written_bytes; #ifdef MEASURE_PROTO_OVERHEAD - QValueList<Entry> proto_bytes; + TQValueList<Entry> proto_bytes; #endif }; |