[Kde-hardware-devel] UPnP Kioslave and Amarok Collection notes

Kevin Ottens ervin at kde.org
Sat May 15 20:35:25 BST 2010


On Saturday 15 May 2010 20:14:05 Bart Cerneels wrote:
> On Sat, May 15, 2010 at 04:38, Nikhil Marathe <nsm.nikhil at gmail.com> wrote:
> > Q: How does a slave notify an application of these changes?
> >  I don't think it is possible. the local changes are noticed by
> > gamin/fam and the slave seems to be refreshed. So I think refreshing
> > seems to be the only way to notify the user, in which case it may not
> > be necessary to watch out for state variable changes.
> 
> There has to be a way to do this. Just try the nepomuk kio-slave and
> notice how it lazy loads query results. That means the slave updates
> right?

What you're looking for is KDirNotify (in KIO).
 
Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20100515/593d3ba0/attachment.sig>


More information about the kfm-devel mailing list