void TaskManager::gotStartupChange( const KStartupInfoId& id, const KStartupInfoData& data ) { for( Startup* s = _startups.first(); s != 0; s = _startups.next()) { if ( s->id() == id ) { s->update( data ); return; } } }
void TaskManager::killStartup( const KStartupInfoId& id ) { Startup* s = 0; for(s = _startups.first(); s != 0; s = _startups.next()) { if (s->id() == id) break; } if (s == 0) return; _startups.removeRef(s); emit startupRemoved(s); delete s; }