diff options
Diffstat (limited to 'src/tools/qmutex_unix.cpp')
-rw-r--r-- | src/tools/qmutex_unix.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/tools/qmutex_unix.cpp b/src/tools/qmutex_unix.cpp index 146edbec9..b69661ad1 100644 --- a/src/tools/qmutex_unix.cpp +++ b/src/tools/qmutex_unix.cpp @@ -119,7 +119,7 @@ TQMutexPrivate::~TQMutexPrivate() #ifdef QT_CHECK_RANGE if ( ret ) - qWarning( "Mutex destroy failure: %s", strerror( ret ) ); + tqWarning( "Mutex destroy failure: %s", strerror( ret ) ); #endif } @@ -136,7 +136,7 @@ TQRealMutexPrivate::TQRealMutexPrivate(bool recurs) #ifdef QT_CHECK_RANGE if( ret ) - qWarning( "Mutex init failure: %s", strerror( ret ) ); + tqWarning( "Mutex init failure: %s", strerror( ret ) ); #endif // QT_CHECK_RANGE } @@ -146,7 +146,7 @@ void TQRealMutexPrivate::lock() #ifdef QT_CHECK_RANGE if (ret) - qWarning("Mutex lock failure: %s", strerror(ret)); + tqWarning("Mutex lock failure: %s", strerror(ret)); #endif } @@ -156,7 +156,7 @@ void TQRealMutexPrivate::unlock() #ifdef QT_CHECK_RANGE if (ret) - qWarning("Mutex unlock failure: %s", strerror(ret)); + tqWarning("Mutex unlock failure: %s", strerror(ret)); #endif } @@ -168,7 +168,7 @@ bool TQRealMutexPrivate::locked() return TRUE; } else if (ret) { #ifdef QT_CHECK_RANGE - qWarning("Mutex locktest failure: %s", strerror(ret)); + tqWarning("Mutex locktest failure: %s", strerror(ret)); #endif } else pthread_mutex_unlock(&handle); @@ -184,7 +184,7 @@ bool TQRealMutexPrivate::trylock() return FALSE; } else if (ret) { #ifdef QT_CHECK_RANGE - qWarning("Mutex trylock failure: %s", strerror(ret)); + tqWarning("Mutex trylock failure: %s", strerror(ret)); #endif return FALSE; } @@ -210,7 +210,7 @@ TQRecursiveMutexPrivate::TQRecursiveMutexPrivate() # ifdef QT_CHECK_RANGE if (ret) - qWarning( "Mutex init failure: %s", strerror(ret) ); + tqWarning( "Mutex init failure: %s", strerror(ret) ); # endif pthread_mutexattr_init(&attr); @@ -219,7 +219,7 @@ TQRecursiveMutexPrivate::TQRecursiveMutexPrivate() # ifdef QT_CHECK_RANGE if (ret) - qWarning( "Mutex init failure: %s", strerror(ret) ); + tqWarning( "Mutex init failure: %s", strerror(ret) ); # endif } @@ -229,7 +229,7 @@ TQRecursiveMutexPrivate::~TQRecursiveMutexPrivate() # ifdef QT_CHECK_RANGE if (ret) - qWarning( "Mutex destroy failure: %s", strerror(ret) ); + tqWarning( "Mutex destroy failure: %s", strerror(ret) ); # endif } @@ -263,8 +263,8 @@ void TQRecursiveMutexPrivate::unlock() } } else { #ifdef QT_CHECK_RANGE - qWarning("TQMutex::unlock: unlock from different thread than locker"); - qWarning(" was locked by %d, unlock attempt from %d", + tqWarning("TQMutex::unlock: unlock from different thread than locker"); + tqWarning(" was locked by %d, unlock attempt from %d", (int)owner, (int)pthread_self()); #endif } @@ -284,7 +284,7 @@ bool TQRecursiveMutexPrivate::locked() } else { #ifdef QT_CHECK_RANGE if (code) - qWarning("Mutex trylock failure: %s", strerror(code)); + tqWarning("Mutex trylock failure: %s", strerror(code)); #endif pthread_mutex_unlock(&handle); @@ -311,7 +311,7 @@ bool TQRecursiveMutexPrivate::trylock() ret = FALSE; } else if (code) { #ifdef QT_CHECK_RANGE - qWarning("Mutex trylock failure: %s", strerror(code)); + tqWarning("Mutex trylock failure: %s", strerror(code)); #endif ret = FALSE; } else { |