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