summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/packet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:16 -0600
commit42a9872891eba166e81cf4f8c062261cc77398f8 (patch)
tree86b4f99b354b8d8eabeca2ffe1874b3c4c90d957 /libktorrent/torrent/packet.cpp
parentf96f74ffa7040e64ae3352e08c810c383c8a0ba2 (diff)
downloadktorrent-42a9872891eba166e81cf4f8c062261cc77398f8.tar.gz
ktorrent-42a9872891eba166e81cf4f8c062261cc77398f8.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f96f74ffa7040e64ae3352e08c810c383c8a0ba2.
Diffstat (limited to 'libktorrent/torrent/packet.cpp')
-rw-r--r--libktorrent/torrent/packet.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libktorrent/torrent/packet.cpp b/libktorrent/torrent/packet.cpp
index e5b1aa0..4e6cf01 100644
--- a/libktorrent/torrent/packet.cpp
+++ b/libktorrent/torrent/packet.cpp
@@ -138,16 +138,16 @@ namespace bt
switch (data[4])
{
- case CHOKE : return TQString("CHOKE %1 %2").arg(hdr_length).arg(data_length);
- case UNCHOKE : return TQString("UNCHOKE %1 %2").arg(hdr_length).arg(data_length);
- case INTERESTED : return TQString("INTERESTED %1 %2").arg(hdr_length).arg(data_length);
- case NOT_INTERESTED : return TQString("NOT_INTERESTED %1 %2").arg(hdr_length).arg(data_length);
- case HAVE : return TQString("HAVE %1 %2").arg(hdr_length).arg(data_length);
- case BITFIELD : return TQString("BITFIELD %1 %2").arg(hdr_length).arg(data_length);
- case PIECE : return TQString("PIECE %1 %2").arg(hdr_length).arg(data_length);
- case REQUEST : return TQString("REQUEST %1 %2").arg(hdr_length).arg(data_length);
- case CANCEL : return TQString("CANCEL %1 %2").arg(hdr_length).arg(data_length);
- default: return TQString("UNKNOWN %1 %2").arg(hdr_length).arg(data_length);
+ case CHOKE : return TQString("CHOKE %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case UNCHOKE : return TQString("UNCHOKE %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case INTERESTED : return TQString("INTERESTED %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case NOT_INTERESTED : return TQString("NOT_INTERESTED %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case HAVE : return TQString("HAVE %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case BITFIELD : return TQString("BITFIELD %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case PIECE : return TQString("PIECE %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case REQUEST : return TQString("REQUEST %1 %2").tqarg(hdr_length).tqarg(data_length);
+ case CANCEL : return TQString("CANCEL %1 %2").tqarg(hdr_length).tqarg(data_length);
+ default: return TQString("UNKNOWN %1 %2").tqarg(hdr_length).tqarg(data_length);
}
}
*/