kio and KDirNotify for remote protocols

David Faure faure at kde.org
Wed Aug 21 22:23:35 BST 2013


On Wednesday 21 August 2013 22:47:58 Sven Brauch wrote:
> Hi!
> 
> On Wednesday 21 August 2013 22:37:31 David Faure wrote:
> > No, which is why people typically create a kded module for the purpose of
> > such always-running watching and notifying.
> 
> Ok, then this is probably what I'm going to do, too.
> 
> > I don't really follow this one. The URLs have to match as you noted. Maybe
> > your kioslaves can register the URLs being used, so that the kdirnotify
> > signals use the right URLs?
> 
> Yes, when I have a kded module anyways, then this is probably the way to
> solve this issue.
> I'm just not sure how to remove an URL from the watchlist again when e.g.
> the file browser is no longer displaying it...

You could listen to the KDirNotify signal leftDirectory(url).

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5





More information about the kde-core-devel mailing list