diff options
Diffstat (limited to 'kio/kio/dataprotocol.cpp')
-rw-r--r-- | kio/kio/dataprotocol.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kio/dataprotocol.cpp b/kio/kio/dataprotocol.cpp index 161c82296..bcbd3191e 100644 --- a/kio/kio/dataprotocol.cpp +++ b/kio/kio/dataprotocol.cpp @@ -121,7 +121,7 @@ inline TQString extract(const TQString &buf, int &pos, TQChar c1, TQChar c2 = '\0', TQChar c3 = '\0') { int oldpos = pos; pos = find(buf,oldpos,c1,c2,c3); - return TQString(buf.unicode() + oldpos, pos - oldpos); + return TQString(buf.tqunicode() + oldpos, pos - oldpos); } /** ignores all whitespaces @@ -186,11 +186,11 @@ static void parseDataHeader(const KURL &url, DataHeader &header_info) { header_info.is_base64 = false; // decode url and save it - TQString &raw_url = header_info.url = TQString::fromLatin1("data:") + url.path(); + TQString &raw_url = header_info.url = TQString::tqfromLatin1("data:") + url.path(); int raw_url_len = (int)raw_url.length(); // jump over scheme part (must be "data:", we don't even check that) - header_info.data_offset = raw_url.find(':'); + header_info.data_offset = raw_url.tqfind(':'); header_info.data_offset++; // jump over colon or to begin if scheme was missing // read mime type |