diff options
Diffstat (limited to 'src/kernel/qeventloop_unix.cpp')
-rw-r--r-- | src/kernel/qeventloop_unix.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qeventloop_unix.cpp b/src/kernel/qeventloop_unix.cpp index b131a701f..f7b829a91 100644 --- a/src/kernel/qeventloop_unix.cpp +++ b/src/kernel/qeventloop_unix.cpp @@ -263,12 +263,12 @@ timeval *qt_wait_timer() static void initTimers() // initialize timers { timerBitVec = new TQBitArray( 128 ); - Q_CHECK_PTR( timerBitVec ); + TQ_CHECK_PTR( timerBitVec ); int i = timerBitVec->size(); while( i-- > 0 ) timerBitVec->clearBit( i ); timerList = new TimerList; - Q_CHECK_PTR( timerList ); + TQ_CHECK_PTR( timerList ); timerList->setAutoDelete( TRUE ); gettimeofday( &watchtime, 0 ); } @@ -293,7 +293,7 @@ int qStartTimer( int interval, TQObject *obj ) return 0; timerBitVec->setBit( id-1 ); // set timer active TimerInfo *t = new TimerInfo; // create timer - Q_CHECK_PTR( t ); + TQ_CHECK_PTR( t ); t->id = id; t->interval.tv_sec = interval/1000; t->interval.tv_usec = (interval%1000)*1000; @@ -379,13 +379,13 @@ void TQEventLoop::registerSocketNotifier( TQSocketNotifier *notifier ) if ( ! list ) { // create new list, the TQSockNotType destructor will delete it for us list = new TQPtrList<TQSockNot>; - Q_CHECK_PTR( list ); + TQ_CHECK_PTR( list ); list->setAutoDelete( TRUE ); d->sn_vec[type].list = list; } sn = new TQSockNot; - Q_CHECK_PTR( sn ); + TQ_CHECK_PTR( sn ); sn->obj = notifier; sn->fd = sockfd; sn->queue = &d->sn_vec[type].pending_fds; |