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; }
void Dispatcher::reparseConfiguration( const QCString & instanceName ) { kdDebug( 701 ) << k_funcinfo << instanceName << endl; // check if the instanceName is valid: if( ! m_instanceInfo.contains( instanceName ) ) return; // first we reparse the config of the instance so that the KConfig object // will be up to date m_instanceInfo[ instanceName ].instance->config()->reparseConfiguration(); QSignal * sig = m_instanceInfo[ instanceName ].signal; if( sig ) { kdDebug( 701 ) << "emit signal to instance" << endl; sig->activate(); } }