summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/torrent/bstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/torrent/bstring.cpp')
-rw-r--r--kfile-plugins/torrent/bstring.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kfile-plugins/torrent/bstring.cpp b/kfile-plugins/torrent/bstring.cpp
index 924acdbc..acf16190 100644
--- a/kfile-plugins/torrent/bstring.cpp
+++ b/kfile-plugins/torrent/bstring.cpp
@@ -44,21 +44,21 @@ void BString::init (ByteTape &tape)
{
TQByteArray &dict(tape.data());
- if (dict.find(':', tape.pos()) == -1)
+ if (dict.tqfind(':', tape.pos()) == -1)
{
- kdDebug(7034) << "Can't find : for string!" << endl;
+ kdDebug(7034) << "Can't tqfind : for string!" << endl;
return;
}
// Copy the part from start to :, as it will be a number
// That number is the number of characters to read
- int length = dict.find(':', tape.pos()) - tape.pos();
+ int length = dict.tqfind(':', tape.pos()) - tape.pos();
char *ptr = dict.data();
ptr += tape.pos();
TQByteArray buffer (length + 1);
- qmemmove (buffer.data(), ptr, length);
+ tqmemmove (buffer.data(), ptr, length);
buffer[length] = 0;
TQString numberString (buffer);
@@ -85,10 +85,10 @@ void BString::init (ByteTape &tape)
// Time to copy the data
char *textBuffer = tape.at(tape.pos());
- if (!m_data.resize(len + 1))
+ if (!m_data.tqresize(len + 1))
return;
- qmemmove (m_data.data(), textBuffer, len);
+ tqmemmove (m_data.data(), textBuffer, len);
m_data[len] = 0; // Null terminate for convienience
tape += len;