From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- src/codecs/qtextcodec.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/codecs/qtextcodec.cpp') diff --git a/src/codecs/qtextcodec.cpp b/src/codecs/qtextcodec.cpp index 23b6ff51a..c03529df2 100644 --- a/src/codecs/qtextcodec.cpp +++ b/src/codecs/qtextcodec.cpp @@ -504,17 +504,17 @@ int TQTextCodec::simpleHeuristicNameMatch(const char* name, const char* hint) { // if they're the same, return a perfect score. if ( name && hint && *name && *hint && qstricmp( name, hint ) == 0 ) - return qstrlen( hint ); + return tqstrlen( hint ); // if the letters and numbers are the same, we have an "almost" // perfect match. TQString h( lettersAndNumbers( hint ) ); TQString n( lettersAndNumbers( name ) ); if ( h == n ) - return qstrlen( hint )-1; + return tqstrlen( hint )-1; if ( h.stripWhiteSpace() == n.stripWhiteSpace() ) - return qstrlen( hint )-2; + return tqstrlen( hint )-2; // could do some more here, but I don't think it's worth it @@ -1115,7 +1115,7 @@ TQString TQTextCodec::toUnicode(const TQCString& a) const */ TQString TQTextCodec::toUnicode(const char* chars) const { - return toUnicode(chars,qstrlen(chars)); + return toUnicode(chars,tqstrlen(chars)); } /*! -- cgit v1.2.3