|
|
|
@ -166,9 +166,9 @@ void DefaultPlugin::loadApplications(DOM::HTMLElement node)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{ //other files
|
|
|
|
|
KTrader::OfferList offers;
|
|
|
|
|
TDETrader::OfferList offers;
|
|
|
|
|
|
|
|
|
|
offers = KTrader::self()->query(item->mimetype(), "Type == 'Application'");
|
|
|
|
|
offers = TDETrader::self()->query(item->mimetype(), "Type == 'Application'");
|
|
|
|
|
if(!offers.isEmpty()){
|
|
|
|
|
TDEConfig config("metabarrc", true, false);
|
|
|
|
|
config.setGroup("General");
|
|
|
|
@ -177,7 +177,7 @@ void DefaultPlugin::loadApplications(DOM::HTMLElement node)
|
|
|
|
|
int max = config.readNumEntry("MaxEntries", 5);
|
|
|
|
|
|
|
|
|
|
runMap.clear();
|
|
|
|
|
KTrader::OfferList::ConstIterator it = offers.begin();
|
|
|
|
|
TDETrader::OfferList::ConstIterator it = offers.begin();
|
|
|
|
|
|
|
|
|
|
for(; it != offers.end(); it++){
|
|
|
|
|
TQString nam;
|
|
|
|
|