[Nepomuk] Re: nepomuk init notification

Chani chanika at gmail.com
Thu Jan 6 13:00:13 CET 2011


On January 5, 2011 15:47:33 Chani wrote:
> > > > > mrr. I'm still torn, for 4.7... would a signal in kactivitymanagerd
> > > > > be a useful abstraction, or just inefficiency?
> > > > 
> > > > I'm not sure - kamd will have multiple backends - for different stuff
> > > > (nepomuk and zeitgeist at least) so I'd rather have an API which
> > > > allows the user not to know anything about N and Z.
> > 
> > note: either way KActivityInfo is that api, but with a signal in kamd,
> > anyone who needed to use it directly would also not need to know it uses
> > nepomuk for icons.
> 
> hrm. for implementation...
> it could emit BackstoreAvailable() (for symmetry with IsBackstoreAvailable)
> and have KActivityInfo connect that to infoChanged - or it could emit
> ActivityChanged for every existing activity, which would generate more dbus
> traffic, but mean that the fact that info depends on the backstore becomes
> entirely a kamd implementation detail.

..oh hey, using the latter option would alsomean not changing the api; I 
could've done that approach from the start and backported it.
doh.

hmm, I think I won't do any more commits while sleep deprived :)

-- 
Chani
http://chani.ca
-------------- 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/nepomuk/attachments/20110106/631c9bc5/attachment.sig 


More information about the Nepomuk mailing list