[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nepomuk
Subject:    [Nepomuk] Re: nepomuk init notification
From:       Chani <chanika () gmail ! com>
Date:       2011-01-05 14:47:33
Message-ID: 201101051547.34468.chanika () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> > 
> > > > 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.

-- 
Chani
http://chani.ca

["signature.asc" (application/pgp-signature)]

_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic