Plasma->Model/View->Nepomuk

Chani chanika at gmail.com
Fri Oct 9 23:23:52 CEST 2009


On October 9, 2009 11:02:52 Sebastian Kügler wrote:
> On Wednesday 07 October 2009 17:22:17 Aaron J. Seigo wrote:
> > > I'm not a expert on the Nepomuk server architecture but I see it
> > > registered as a DBus service at org.kde.NepomukServer, the Nepomuk
> > > service manager does have "bool isServiceAutostarted(QString service) &
> > > bool
> > >  isServiceInitialized(QString name)"
> >
> > if org.kde.NepomukServer is on the bus, then you know the service is
> > alive and you can start using it. QtDBus lets you ask if a service is
> > registered on the bus.
> 
> Is there a signal serviceHasComeAlive or something? Or can you ask to
>  SIGNAL when such a service comes up? Otherwise, it sounds like we'll end
>  up polling. Baaaad.

well, there's a dbus signal that lets you know when *any* interface comes or 
goes, andhten you have to check if it's the one you care about... that's not 
*quite* as bad as polling.

-- 
This message brought to you by eevil bananas and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091009/72842998/attachment-0001.sig 


More information about the Plasma-devel mailing list