From kde-devel Mon Oct 29 19:26:16 2001 From: David Faure Date: Mon, 29 Oct 2001 19:26:16 +0000 To: kde-devel Subject: Re: Registering MIME types X-MARC-Message: https://marc.info/?l=kde-devel&m=100438374724714 On Lundi 29 Octobre 2001 21:14, Waldo Bastian wrote: > On Monday 29 October 2001 02:14 am, David Faure wrote: > > > > You can either install this desktopfile as "service" or as > > > > "application". The difference is that "applications" ed up in the > > > > K-menu. > > > > Although you can also use NoDisplay=true to have an application that > > doesn't appear in the K menu. > > I think this is what you want here, since you still want the thing to be > > run as an application..... > > Is there any difference then between running as an "application" and running > as a "service"? No, running either is the same. But the difference is when querying them... void KonqFactory::getOffers( const QString & serviceType, KTrader::OfferList *partServiceOffers, KTrader::OfferList *appServiceOffers ) { if ( appServiceOffers ) { *appServiceOffers = KTrader::self()->query( serviceType, "Application", "DesktopEntryName != 'kfmclient' and DesktopEntryName != 'kfmclient_dir' and DesktopEntryName != 'kfmclient_html'", QString::null ); } This shows that the entries that appear in the RMB/"Open With..." in Konqueror, can only be applications. It wants to launch applications from there. Services are usually libraries (parts, or other kind of plugins). -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/ KDE 3.0: Konquering the Desktops >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<