bool QSingleShotTimer::event( QEvent * ) { qKillTimer( timerId ); // no more timeouts signal.activate(); // emit the signal signal.disconnect( 0, 0 ); timerId = 0; // mark as inactive return TRUE; }
bool QSingleShotTimer::event( QEvent * ) { qKillTimer( timerId ); // no more timeouts signal.activate(); // emit the signal signal.disconnect( 0, 0 ); sst_list->insert( 0, this ); // store in free list return TRUE; }