summaryrefslogtreecommitdiffstats
path: root/src/tools/qthreadstorage_unix.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/tools/qthreadstorage_unix.cpp
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'src/tools/qthreadstorage_unix.cpp')
-rw-r--r--src/tools/qthreadstorage_unix.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qthreadstorage_unix.cpp b/src/tools/qthreadstorage_unix.cpp
index 248a0ad..63dbb7a 100644
--- a/src/tools/qthreadstorage_unix.cpp
+++ b/src/tools/qthreadstorage_unix.cpp
@@ -80,7 +80,7 @@ QThreadStorageData::QThreadStorageData( void (*func)( void * ) )
thread_storage_usage[id].func = func;
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: allocated id %d", id );
+ tqDebug( "QThreadStorageData: allocated id %d", id );
#endif // QTHREADSTORAGE_DEBUG
pthread_mutex_unlock( &thread_storage_mutex );
@@ -93,7 +93,7 @@ QThreadStorageData::~QThreadStorageData()
thread_storage_usage[id].func = 0;
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: released id %d", id );
+ tqDebug( "QThreadStorageData: released id %d", id );
#endif // QTHREADSTORAGE_DEBUG
pthread_mutex_unlock( &thread_storage_mutex );
@@ -103,7 +103,7 @@ void **QThreadStorageData::get() const
{
QThreadInstance *d = QThreadInstance::current();
if (!d) {
- qWarning("QThreadStorage can only be used with threads started with QThread");
+ tqWarning("QThreadStorage can only be used with threads started with QThread");
return 0;
}
QMutexLocker locker( d->mutex() );
@@ -114,13 +114,13 @@ void **QThreadStorageData::set( void *p )
{
QThreadInstance *d = QThreadInstance::current();
if (!d) {
- qWarning("QThreadStorage can only be used with threads started with QThread");
+ tqWarning("QThreadStorage can only be used with threads started with QThread");
return 0;
}
QMutexLocker locker( d->mutex() );
if ( !d->thread_storage ) {
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: allocating storage for thread %lx",
+ tqDebug( "QThreadStorageData: allocating storage for thread %lx",
(unsigned long) pthread_self() );
#endif // QTHREADSTORAGE_DEBUG
@@ -142,7 +142,7 @@ void QThreadStorageData::finish( void **thread_storage )
if ( ! thread_storage ) return; // nothing to do
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: destroying storage for thread %lx",
+ tqDebug( "QThreadStorageData: destroying storage for thread %lx",
(unsigned long) pthread_self() );
#endif // QTHREADSTORAGE_DEBUG
@@ -150,7 +150,7 @@ void QThreadStorageData::finish( void **thread_storage )
if ( ! thread_storage[i] ) continue;
if ( ! thread_storage_usage[i].used ) {
#ifdef QT_CHECK_STATE
- qWarning( "QThreadStorage: thread %lx exited after QThreadStorage destroyed",
+ tqWarning( "QThreadStorage: thread %lx exited after QThreadStorage destroyed",
(unsigned long) pthread_self() );
#endif // QT_CHECK_STATE
continue;