diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-03 15:53:30 +0200 |
commit | e7bee19a9f42cffe3a0792348a60e5bee1d3da71 (patch) | |
tree | 92dabc7114bd352b2e4ebb5f64cd3d6429e162f7 /kfile-plugins | |
parent | 4b54ad17739d1075235f2960ecde230a58b5621c (diff) | |
download | tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.tar.gz tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98)
Diffstat (limited to 'kfile-plugins')
-rw-r--r-- | kfile-plugins/torrent/bdict.cpp | 2 | ||||
-rw-r--r-- | kfile-plugins/torrent/bstring.cpp | 2 |
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); |