summaryrefslogtreecommitdiffstats
path: root/src/tools/qthreadstorage_unix.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/tools/qthreadstorage_unix.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 05b86b954..df4c3866f 100644
--- a/src/tools/qthreadstorage_unix.cpp
+++ b/src/tools/qthreadstorage_unix.cpp
@@ -80,7 +80,7 @@ TQThreadStorageData::TQThreadStorageData( void (*func)( void * ) )
thread_storage_usage[id].func = func;
#ifdef TQTHREADSTORAGE_DEBUG
- qDebug( "TQThreadStorageData: allocated id %d", id );
+ tqDebug( "TQThreadStorageData: allocated id %d", id );
#endif // TQTHREADSTORAGE_DEBUG
pthread_mutex_unlock( &thread_storage_mutex );
@@ -93,7 +93,7 @@ TQThreadStorageData::~TQThreadStorageData()
thread_storage_usage[id].func = 0;
#ifdef TQTHREADSTORAGE_DEBUG
- qDebug( "TQThreadStorageData: released id %d", id );
+ tqDebug( "TQThreadStorageData: released id %d", id );
#endif // TQTHREADSTORAGE_DEBUG
pthread_mutex_unlock( &thread_storage_mutex );
@@ -103,7 +103,7 @@ void **TQThreadStorageData::get() const
{
TQThreadInstance *d = TQThreadInstance::current();
if (!d) {
- qWarning("TQThreadStorage can only be used with threads started with TQThread");
+ tqWarning("TQThreadStorage can only be used with threads started with TQThread");
return 0;
}
TQMutexLocker locker( d->mutex() );
@@ -114,13 +114,13 @@ void **TQThreadStorageData::set( void *p )
{
TQThreadInstance *d = TQThreadInstance::current();
if (!d) {
- qWarning("TQThreadStorage can only be used with threads started with TQThread");
+ tqWarning("TQThreadStorage can only be used with threads started with TQThread");
return 0;
}
TQMutexLocker locker( d->mutex() );
if ( !d->thread_storage ) {
#ifdef TQTHREADSTORAGE_DEBUG
- qDebug( "TQThreadStorageData: allocating storage for thread %lx",
+ tqDebug( "TQThreadStorageData: allocating storage for thread %lx",
(unsigned long) pthread_self() );
#endif // TQTHREADSTORAGE_DEBUG
@@ -142,7 +142,7 @@ void TQThreadStorageData::finish( void **thread_storage )
if ( ! thread_storage ) return; // nothing to do
#ifdef TQTHREADSTORAGE_DEBUG
- qDebug( "TQThreadStorageData: destroying storage for thread %lx",
+ tqDebug( "TQThreadStorageData: destroying storage for thread %lx",
(unsigned long) pthread_self() );
#endif // TQTHREADSTORAGE_DEBUG
@@ -150,7 +150,7 @@ void TQThreadStorageData::finish( void **thread_storage )
if ( ! thread_storage[i] ) continue;
if ( ! thread_storage_usage[i].used ) {
#ifdef QT_CHECK_STATE
- qWarning( "TQThreadStorage: thread %lx exited after TQThreadStorage destroyed",
+ tqWarning( "TQThreadStorage: thread %lx exited after TQThreadStorage destroyed",
(unsigned long) pthread_self() );
#endif // QT_CHECK_STATE
continue;