summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/torrent
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kfile-plugins/torrent
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kfile-plugins/torrent')
-rw-r--r--kfile-plugins/torrent/bdict.cpp2
-rw-r--r--kfile-plugins/torrent/bstring.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kfile-plugins/torrent/bdict.cpp b/kfile-plugins/torrent/bdict.cpp
index 75bda831..712fd526 100644
--- a/kfile-plugins/torrent/bdict.cpp
+++ b/kfile-plugins/torrent/bdict.cpp
@@ -188,7 +188,7 @@ bool BDict::writeToDevice(TQIODevice &device)
for (key_iter = key_list.begin(); key_iter != key_list.end(); ++key_iter)
{
TQCString utfString = (*key_iter).utf8();
- TQString str = TQString("%1:").tqarg(utfString.size() - 1);
+ TQString str = TQString("%1:").arg(utfString.size() - 1);
TQCString lenString = str.utf8();
diff --git a/kfile-plugins/torrent/bstring.cpp b/kfile-plugins/torrent/bstring.cpp
index 258c97c7..0b40b46a 100644
--- a/kfile-plugins/torrent/bstring.cpp
+++ b/kfile-plugins/torrent/bstring.cpp
@@ -85,7 +85,7 @@ void BString::init (ByteTape &tape)
// Time to copy the data
char *textBuffer = tape.at(tape.pos());
- if (!m_data.tqresize(len + 1))
+ if (!m_data.resize(len + 1))
return;
tqmemmove (m_data.data(), textBuffer, len);