summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/bencoder.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:56 -0600
commitf96f74ffa7040e64ae3352e08c810c383c8a0ba2 (patch)
tree8f4cdf2f66860234f9ae889cd483b44150affb2c /libktorrent/torrent/bencoder.cpp
parent0ad9f974f4ad92a3f1458a76d4df26d843efeab7 (diff)
downloadktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.tar.gz
ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libktorrent/torrent/bencoder.cpp')
-rw-r--r--libktorrent/torrent/bencoder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/torrent/bencoder.cpp b/libktorrent/torrent/bencoder.cpp
index ef01123..cb82db7 100644
--- a/libktorrent/torrent/bencoder.cpp
+++ b/libktorrent/torrent/bencoder.cpp
@@ -87,7 +87,7 @@ namespace bt
{
if (!out) return;
- TQCString s = TQString("i%1e").tqarg(val).utf8();
+ TQCString s = TQString("i%1e").arg(val).utf8();
out->write(s,s.length());
}
@@ -95,7 +95,7 @@ namespace bt
{
if (!out) return;
- TQCString s = TQString("i%1e").tqarg(val).utf8();
+ TQCString s = TQString("i%1e").arg(val).utf8();
out->write(s,s.length());
}
@@ -104,7 +104,7 @@ namespace bt
if (!out) return;
TQCString u = str.utf8();
- TQCString s = TQString("%1:").tqarg(u.length()).utf8();
+ TQCString s = TQString("%1:").arg(u.length()).utf8();
out->write(s,s.length());
out->write(u,u.length());
}
@@ -123,7 +123,7 @@ namespace bt
{
if (!out) return;
- TQCString s = TQString("%1:").tqarg(size).utf8();
+ TQCString s = TQString("%1:").arg(size).utf8();
out->write(s,s.length());
out->write((const char*)data,size);
}