[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Registering MIME types
From: David Faure <david () mandrakesoft ! com>
Date: 2001-10-29 19:26:16
[Download RAW message or body]
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 <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic