From a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:24:30 -0600 Subject: Rename additional global TQt functions --- src/tools/qcomlibrary.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/tools/qcomlibrary.cpp') diff --git a/src/tools/qcomlibrary.cpp b/src/tools/qcomlibrary.cpp index 8d13549..bae4e7d 100644 --- a/src/tools/qcomlibrary.cpp +++ b/src/tools/qcomlibrary.cpp @@ -100,25 +100,25 @@ static bool qt_verify( const QString& library, uint version, uint flags, if ( (flags & 1) == 0 ) { if ( warn ) - qWarning( "Conflict in %s:\n" + tqWarning( "Conflict in %s:\n" " Plugin cannot be queried successfully!", (const char*) QFile::encodeName(library) ); } else if ( ( version > QT_VERSION ) || ( ( QT_VERSION & 0xff0000 ) > ( version & 0xff0000 ) ) ) { if ( warn ) - qWarning( "Conflict in %s:\n" + tqWarning( "Conflict in %s:\n" " Plugin uses incompatible Qt library (%d.%d.%d)!", (const char*) QFile::encodeName(library), (version&0xff0000) >> 16, (version&0xff00) >> 8, version&0xff ); } else if ( (flags & 2) != (our_flags & 2) ) { if ( warn ) - qWarning( "Conflict in %s:\n" + tqWarning( "Conflict in %s:\n" " Plugin uses %s Qt library!", (const char*) QFile::encodeName(library), (flags & 2) ? "multi threaded" : "single threaded" ); } else if ( key != QT_BUILD_KEY ) { if ( warn ) - qWarning( "Conflict in %s:\n" + tqWarning( "Conflict in %s:\n" " Plugin uses incompatible Qt library!\n" " expected build key \"%s\", got \"%s\".", (const char*) QFile::encodeName(library), @@ -326,7 +326,7 @@ static bool qt_unix_query( const QString &library, uint *version, uint *flags, { QFile file( library ); if (! file.open( IO_ReadOnly ) ) { - qWarning( "%s: %s", (const char*) QFile::encodeName(library), + tqWarning( "%s: %s", (const char*) QFile::encodeName(library), strerror( errno ) ); return FALSE; } @@ -345,7 +345,7 @@ static bool qt_unix_query( const QString &library, uint *version, uint *flags, fdlen = maplen; } else { // mmap failed - qWarning( "mmap: %s", strerror( errno ) ); + tqWarning( "mmap: %s", strerror( errno ) ); #endif // USE_MMAP // try reading the data into memory instead data = file.readAll(); @@ -367,7 +367,7 @@ static bool qt_unix_query( const QString &library, uint *version, uint *flags, #ifdef USE_MMAP if ( mapaddr != MAP_FAILED && munmap(mapaddr, maplen) != 0 ) { - qWarning( "munmap: %s", strerror( errno ) ); + tqWarning( "munmap: %s", strerror( errno ) ); } #endif // USE_MMAP @@ -474,7 +474,7 @@ void QComLibrary::createInstanceInternal() if ( ! query_done ) { if ( warn_mismatch ) { - qWarning( "Conflict in %s:\n Plugin cannot be queried successfully!", + tqWarning( "Conflict in %s:\n Plugin cannot be queried successfully!", (const char*) QFile::encodeName( library() ) ); } unload(); @@ -499,7 +499,7 @@ void QComLibrary::createInstanceInternal() ucmInstanceProc = (UCMInstanceProc) resolve( "ucm_instantiate" ); #if defined(QT_DEBUG_COMPONENT) if ( !ucmInstanceProc ) - qWarning( "%s: Not a UCOM library.", (const char*) QFile::encodeName(library()) ); + tqWarning( "%s: Not a UCOM library.", (const char*) QFile::encodeName(library()) ); #endif entry = ucmInstanceProc ? ucmInstanceProc() : 0; @@ -514,7 +514,7 @@ void QComLibrary::createInstanceInternal() } } else { #if defined(QT_DEBUG_COMPONENT) - qWarning( "%s: No exported component provided.", (const char*) QFile::encodeName(library()) ); + tqWarning( "%s: No exported component provided.", (const char*) QFile::encodeName(library()) ); #endif unload(); } -- cgit v1.2.3