Plasma->Model/View->Nepomuk
PierreL
pierrelud at yahoo.com
Thu Oct 8 11:29:18 CEST 2009
> Message: 1
> Date: Wed, 7 Oct 2009 09:22:17 -0600
> From: "Aaron J. Seigo" <aseigo at kde.org>
> Subject: Re: Plasma->Model/View->Nepomuk
> To: plasma-devel at kde.org
> Message-ID: <200910070922.17476.aseigo at kde.org>
> Content-Type: text/plain; charset="us-ascii"
>
> On October 7, 2009, PierreL wrote:
> > > e.g. if the "nepomuk" source is requested, it
> would create
> > > a nepomuk source
> > > with perhaps { "available" => bool } as the
> data and
> > > update the source
> > > whenever the resources becomes available or not.
> >
> > So to do a check, before accessing Nepomuk.
>
> correct.
>
> > I'm still not sure about the
> > order in which services are started in KDE or in
> which order it should be
> > started :-), which was one of my concerns here.
>
> you shouldn't make any assumptions about this. the order of
> services
> (including services autostarting only when needed, for
> example) may change or
> shift over time. we have tools to make such assumptions
> unnecessary, however
> :)
Don't worry, my uncertainty overrides any assumptions; rock, paper, scissors...I'll read up and do some tests on this to understand it better.
>
> > 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.
>
> what did you think about the DataEngine idea? :)
I think it is a great idea and an elegant way to solve this!
I'll implement it and maybe it can be added to kde svn for the community to use.
>
> --
> Aaron J. Seigo
More information about the Plasma-devel
mailing list