summaryrefslogtreecommitdiffstats
path: root/src/tools/qmutex_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qmutex_unix.cpp')
-rw-r--r--src/tools/qmutex_unix.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/tools/qmutex_unix.cpp b/src/tools/qmutex_unix.cpp
index 7f14e6a..74cf502 100644
--- a/src/tools/qmutex_unix.cpp
+++ b/src/tools/qmutex_unix.cpp
@@ -119,7 +119,7 @@ QMutexPrivate::~QMutexPrivate()
#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 @@ QRealMutexPrivate::QRealMutexPrivate(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 QRealMutexPrivate::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 QRealMutexPrivate::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 QRealMutexPrivate::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 QRealMutexPrivate::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 @@ QRecursiveMutexPrivate::QRecursiveMutexPrivate()
# 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 @@ QRecursiveMutexPrivate::QRecursiveMutexPrivate()
# 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 @@ QRecursiveMutexPrivate::~QRecursiveMutexPrivate()
# 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 QRecursiveMutexPrivate::unlock()
}
} else {
#ifdef QT_CHECK_RANGE
- qWarning("QMutex::unlock: unlock from different thread than locker");
- qWarning(" was locked by %d, unlock attempt from %d",
+ tqWarning("QMutex::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 QRecursiveMutexPrivate::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 QRecursiveMutexPrivate::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 {