diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/tools/qcomlibrary.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'src/tools/qcomlibrary.cpp')
-rw-r--r-- | src/tools/qcomlibrary.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/tools/qcomlibrary.cpp b/src/tools/qcomlibrary.cpp index 5869d3e37..7097b287a 100644 --- a/src/tools/qcomlibrary.cpp +++ b/src/tools/qcomlibrary.cpp @@ -100,25 +100,25 @@ static bool qt_verify( const TQString& 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*) TQFile::encodeName(library) ); } else if ( ( version > TQT_VERSION ) || ( ( TQT_VERSION & 0xff0000 ) > ( version & 0xff0000 ) ) ) { if ( warn ) - qWarning( "Conflict in %s:\n" + tqWarning( "Conflict in %s:\n" " Plugin uses incompatible TQt library (%d.%d.%d)!", (const char*) TQFile::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 TQt library!", (const char*) TQFile::encodeName(library), (flags & 2) ? "multi threaded" : "single threaded" ); } else if ( key != TQT_BUILD_KEY ) { if ( warn ) - qWarning( "Conflict in %s:\n" + tqWarning( "Conflict in %s:\n" " Plugin uses incompatible TQt library!\n" " expected build key \"%s\", got \"%s\".", (const char*) TQFile::encodeName(library), @@ -326,7 +326,7 @@ static bool qt_unix_query( const TQString &library, uint *version, uint *flags, { TQFile file( library ); if (! file.open( IO_ReadOnly ) ) { - qWarning( "%s: %s", (const char*) TQFile::encodeName(library), + tqWarning( "%s: %s", (const char*) TQFile::encodeName(library), strerror( errno ) ); return FALSE; } @@ -345,7 +345,7 @@ static bool qt_unix_query( const TQString &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 TQString &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 @@ -399,8 +399,8 @@ void TQComLibrary::createInstanceInternal() bool warn_mismatch = TRUE; #ifdef QT_THREAD_SUPPORT - TQMutexLocker locker( qt_global_mutexpool ? - qt_global_mutexpool->get( &cache ) : 0 ); + TQMutexLocker locker( tqt_global_mutexpool ? + tqt_global_mutexpool->get( &cache ) : 0 ); #endif // QT_THREAD_SUPPORT if ( ! cache ) { @@ -474,7 +474,7 @@ void TQComLibrary::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*) TQFile::encodeName( library() ) ); } unload(); @@ -499,7 +499,7 @@ void TQComLibrary::createInstanceInternal() ucmInstanceProc = (UCMInstanceProc) resolve( "ucm_instantiate" ); #if defined(QT_DEBUG_COMPONENT) if ( !ucmInstanceProc ) - qWarning( "%s: Not a UCOM library.", (const char*) TQFile::encodeName(library()) ); + tqWarning( "%s: Not a UCOM library.", (const char*) TQFile::encodeName(library()) ); #endif entry = ucmInstanceProc ? ucmInstanceProc() : 0; @@ -514,7 +514,7 @@ void TQComLibrary::createInstanceInternal() } } else { #if defined(QT_DEBUG_COMPONENT) - qWarning( "%s: No exported component provided.", (const char*) TQFile::encodeName(library()) ); + tqWarning( "%s: No exported component provided.", (const char*) TQFile::encodeName(library()) ); #endif unload(); } |