From c4b3c076ff7d33a8205c616611477ae3c7532de7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:13 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit ba2a3ce341c0c71bbbcf350fcbcd60c552220b31) --- libkdepim/qutf7codec.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libkdepim/qutf7codec.cpp') diff --git a/libkdepim/qutf7codec.cpp b/libkdepim/qutf7codec.cpp index b0076172..d390e649 100644 --- a/libkdepim/qutf7codec.cpp +++ b/libkdepim/qutf7codec.cpp @@ -137,10 +137,10 @@ int TQUtf7Codec::heuristicContentMatch(const char* chars, int len) const } class TQUtf7Decoder : public TQTextDecoder { - // the storage for our tqunicode char until it's finished + // the storage for our unicode char until it's finished ushort uc; // the state of the base64 decoding - // can be 0 (just finished three tqunicode chars) + // can be 0 (just finished three unicode chars) // 1 (have the upper 6 bits of uc already) // 2 (have the upper 12 bits of uc already) // 3 (have the upper 2 bits of uc already) @@ -148,7 +148,7 @@ class TQUtf7Decoder : public TQTextDecoder { // 7 (have the upper 10 bits of uc already) // => n (have the upper (n * 6) % 16 bits of uc already) // "stepNo" cycles through all it's values every three - // tqunicode chars. + // unicode chars. char stepNo; // remembers if we are in shifted-sequence mode bool shifted; @@ -462,7 +462,7 @@ public: #endif // source and destination cursor - const TQChar * s = uc.tqunicode(); + const TQChar * s = uc.unicode(); TQCString::Iterator t = result.data(); if ( uc.isNull() ) { @@ -473,7 +473,7 @@ public: // normal operation: for (int i = 0 ; i < len_in_out ; i++/*, checkOutBuf(result,maxreslen,t,i,len_in_out,5)*/ ) { - ushort ch = s[i].tqunicode(); + ushort ch = s[i].unicode(); // // first, we check whether we might get around encoding: -- cgit v1.2.3