diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:25:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:25:56 -0600 |
commit | 543fa670b11b8990e54233d52bddc9840b45ac6d (patch) | |
tree | 5fd8993d92fdbdffecd24af91767569e75026deb /qtinterface/interface_qt3 | |
parent | 0076a6194c579137f4606b250e745f77b9e669ea (diff) | |
download | tqtinterface-543fa670b11b8990e54233d52bddc9840b45ac6d.tar.gz tqtinterface-543fa670b11b8990e54233d52bddc9840b45ac6d.zip |
Rename additional global TQt functions
Diffstat (limited to 'qtinterface/interface_qt3')
-rw-r--r-- | qtinterface/interface_qt3/tqdir.cpp | 2 | ||||
-rw-r--r-- | qtinterface/interface_qt3/tqmap.h | 2 | ||||
-rw-r--r-- | qtinterface/interface_qt3/tqpaintdevice.cpp | 2 | ||||
-rw-r--r-- | qtinterface/interface_qt3/tqstrlist.h | 4 | ||||
-rw-r--r-- | qtinterface/interface_qt3/tqtextcodec.cpp | 16 | ||||
-rw-r--r-- | qtinterface/interface_qt3/tqvaluelist.h | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/qtinterface/interface_qt3/tqdir.cpp b/qtinterface/interface_qt3/tqdir.cpp index 328148e..55328d1 100644 --- a/qtinterface/interface_qt3/tqdir.cpp +++ b/qtinterface/interface_qt3/tqdir.cpp @@ -28,7 +28,7 @@ bool QDir::exists( const QString &name, bool acceptAbsPath ) { if ( name.isEmpty() ) { #if defined(QT_CHECK_NULL) - qWarning( "QDir::exists: Empty or null file name" ); + tqWarning( "QDir::exists: Empty or null file name" ); #endif return FALSE; } diff --git a/qtinterface/interface_qt3/tqmap.h b/qtinterface/interface_qt3/tqmap.h index 58ccd40..f33b2c1 100644 --- a/qtinterface/interface_qt3/tqmap.h +++ b/qtinterface/interface_qt3/tqmap.h @@ -604,7 +604,7 @@ Q_TYPENAME TQMapPrivate<Key,T>::Iterator TQMapPrivate<Key,T>::insert( TQMapNodeB #ifdef QT_CHECK_RANGE # if !defined( QT_NO_DEBUG ) && defined( QT_CHECK_MAP_RANGE ) -# define QT_CHECK_INVALID_MAP_ELEMENT if ( empty() ) qWarning( "TQMap: Warning invalid element" ) +# define QT_CHECK_INVALID_MAP_ELEMENT if ( empty() ) tqWarning( "TQMap: Warning invalid element" ) # define QT_CHECK_INVALID_MAP_ELEMENT_FATAL Q_ASSERT( !empty() ); # else # define QT_CHECK_INVALID_MAP_ELEMENT diff --git a/qtinterface/interface_qt3/tqpaintdevice.cpp b/qtinterface/interface_qt3/tqpaintdevice.cpp index 846342a..ae33f5c 100644 --- a/qtinterface/interface_qt3/tqpaintdevice.cpp +++ b/qtinterface/interface_qt3/tqpaintdevice.cpp @@ -99,7 +99,7 @@ GC qt_xget_temp_gc( int scrn, bool monochrome ) // get temporary GC { int appScreenCount = QApplication::desktop()->numScreens(); if ( scrn < 0 || scrn >= appScreenCount ) { - qDebug("invalid screen (tmp) %d %d", scrn, appScreenCount ); + tqDebug("invalid screen (tmp) %d %d", scrn, appScreenCount ); QWidget* bla = 0; bla->setName("hello"); } diff --git a/qtinterface/interface_qt3/tqstrlist.h b/qtinterface/interface_qt3/tqstrlist.h index 9967457..bfa621d 100644 --- a/qtinterface/interface_qt3/tqstrlist.h +++ b/qtinterface/interface_qt3/tqstrlist.h @@ -149,7 +149,7 @@ public: } private: - Q3PtrCollection::Item newItem( Q3PtrCollection::Item d ) { return dc ? qstrdup( (const char*)d ) : d; } + Q3PtrCollection::Item newItem( Q3PtrCollection::Item d ) { return dc ? tqstrdup( (const char*)d ) : d; } void deleteItem( Q3PtrCollection::Item d ) { if ( del_item ) delete[] (char*)d; } int compareItems( Q3PtrCollection::Item s1, Q3PtrCollection::Item s2 ) { return qstrcmp((const char*)s1, (const char*)s2); } @@ -170,7 +170,7 @@ public: ~TQStrIList() { clear(); } private: int compareItems( Q3PtrCollection::Item s1, Q3PtrCollection::Item s2 ) - { return qstricmp((const char*)s1, + { return tqstricmp((const char*)s1, (const char*)s2); } }; diff --git a/qtinterface/interface_qt3/tqtextcodec.cpp b/qtinterface/interface_qt3/tqtextcodec.cpp index 6e047a5..812e7ba 100644 --- a/qtinterface/interface_qt3/tqtextcodec.cpp +++ b/qtinterface/interface_qt3/tqtextcodec.cpp @@ -128,15 +128,15 @@ public: char comm='%'; bool incmap = FALSE; while (iod->readLine(line,maxlen) > 0) { - if (0==qstrnicmp(line,"<code_set_name>",15)) + if (0==tqstrnicmp(line,"<code_set_name>",15)) n = line+15; - else if (0==qstrnicmp(line,"<escape_char> ",14)) + else if (0==tqstrnicmp(line,"<escape_char> ",14)) esc = line[14]; - else if (0==qstrnicmp(line,"<comment_char> ",15)) + else if (0==tqstrnicmp(line,"<comment_char> ",15)) comm = line[15]; - else if (line[0]==comm && 0==qstrnicmp(line+1," alias ",7)) { + else if (line[0]==comm && 0==tqstrnicmp(line+1," alias ",7)) { aliases.append(line+8); - } else if (0==qstrnicmp(line,"CHARMAP",7)) { + } else if (0==tqstrnicmp(line,"CHARMAP",7)) { if (!from_unicode_page) { from_unicode_page = new char*[256]; for (int i=0; i<256; i++) @@ -146,7 +146,7 @@ public: to_unicode = new ushort[256]; } incmap = TRUE; - } else if (0==qstrnicmp(line,"END CHARMAP",11)) + } else if (0==tqstrnicmp(line,"END CHARMAP",11)) break; else if (incmap) { char* cursor = line; @@ -226,7 +226,7 @@ public: } mb[nmb++] = 0; from_unicode_page_multiByte[ch.row()][ch.cell()] - = qstrdup(mb); + = tqstrdup(mb); *mb_unicode = unicode; } else { from_unicode_page[ch.row()][ch.cell()] = (char)byte; @@ -492,7 +492,7 @@ int QTextCodec::heuristicNameMatch(const char* hint) const int QTextCodec::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 ) + if ( name && hint && *name && *hint && tqstricmp( name, hint ) == 0 ) return qstrlen( hint ); // if the letters and numbers are the same, we have an "almost" diff --git a/qtinterface/interface_qt3/tqvaluelist.h b/qtinterface/interface_qt3/tqvaluelist.h index f8d73b9..2ae9d55 100644 --- a/qtinterface/interface_qt3/tqvaluelist.h +++ b/qtinterface/interface_qt3/tqvaluelist.h @@ -423,7 +423,7 @@ void TQValueListPrivate<T>::clear() #ifdef QT_CHECK_RANGE # if !defined( QT_NO_DEBUG ) && defined( QT_CHECK_VALUELIST_RANGE ) -# define QT_CHECK_INVALID_LIST_ELEMENT if ( empty() ) qWarning( "TQValueList: Warning invalid element" ) +# define QT_CHECK_INVALID_LIST_ELEMENT if ( empty() ) tqWarning( "TQValueList: Warning invalid element" ) # define QT_CHECK_INVALID_LIST_ELEMENT_FATAL Q_ASSERT( !empty() ); # else # define QT_CHECK_INVALID_LIST_ELEMENT |