diff options
author | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/kernel/qeventloop_unix.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
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; |