diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:25:13 +0200 |
commit | c4b3c076ff7d33a8205c616611477ae3c7532de7 (patch) | |
tree | 951a8f07f1a0dafc04cb0ca4b2af034809da9883 /libkdepim/qutf7codec.cpp | |
parent | 04b89c2dbd5fb1b865453f3977261a60a70f6bc2 (diff) | |
download | tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.tar.gz tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ba2a3ce341c0c71bbbcf350fcbcd60c552220b31)
Diffstat (limited to 'libkdepim/qutf7codec.cpp')
-rw-r--r-- | libkdepim/qutf7codec.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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: |