|
|
|
@ -1091,7 +1091,7 @@ void tdesvnfilelist::slotItemDoubleClicked(TQListViewItem*item)
|
|
|
|
|
if ( feditor.compare("default") == 0 ) {
|
|
|
|
|
KURL::List lst;
|
|
|
|
|
lst.append(fki->kdeName(rev));
|
|
|
|
|
KTrader::OfferList li = offersList(fki,true);
|
|
|
|
|
TDETrader::OfferList li = offersList(fki,true);
|
|
|
|
|
if (li.count()==0||li.first()->exec().isEmpty()) {
|
|
|
|
|
li = offersList(fki);
|
|
|
|
|
}
|
|
|
|
@ -1424,9 +1424,9 @@ bool tdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
|
|
|
|
|
return dispchanged;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KTrader::OfferList tdesvnfilelist::offersList(SvnItem*item,bool execOnly)
|
|
|
|
|
TDETrader::OfferList tdesvnfilelist::offersList(SvnItem*item,bool execOnly)
|
|
|
|
|
{
|
|
|
|
|
KTrader::OfferList offers;
|
|
|
|
|
TDETrader::OfferList offers;
|
|
|
|
|
if (!item) {
|
|
|
|
|
return offers;
|
|
|
|
|
}
|
|
|
|
@ -1436,7 +1436,7 @@ KTrader::OfferList tdesvnfilelist::offersList(SvnItem*item,bool execOnly)
|
|
|
|
|
} else {
|
|
|
|
|
constraint = "Type == 'Application'";
|
|
|
|
|
}
|
|
|
|
|
offers = KTrader::self()->query(item->mimeType()->name(), constraint);
|
|
|
|
|
offers = TDETrader::self()->query(item->mimeType()->name(), constraint);
|
|
|
|
|
|
|
|
|
|
return offers;
|
|
|
|
|
}
|
|
|
|
@ -1489,7 +1489,7 @@ void tdesvnfilelist::slotContextMenuRequested(TQListViewItem */* _item */, const
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KTrader::OfferList offers;
|
|
|
|
|
TDETrader::OfferList offers;
|
|
|
|
|
OpenContextmenu*me=0;
|
|
|
|
|
KAction*temp = 0;
|
|
|
|
|
|
|
|
|
|