void StartupId::gotNewStartup( const KStartupInfoId& id_P, const KStartupInfoData& data_P ) { QString icon = data_P.findIcon(); current_startup = id_P; startups[ id_P ] = icon; start_startupid( icon ); }
void StartupId::gotNewStartup( const KStartupInfoId& id_P, const KStartupInfoData& data_P ) { if( active_selection ) return; QString icon = data_P.findIcon(); current_startup = id_P; startups[ id_P ] = icon; start_startupid( icon ); }
void StartupId::gotStartupChange( const KStartupInfoId& id_P, const KStartupInfoData& data_P ) { if( current_startup == id_P ) { QString icon = data_P.findIcon(); if( !icon.isEmpty() && icon != startups[ current_startup ] ) { startups[ id_P ] = icon; start_startupid( icon ); } } }