distributed bookmarking

David Faure faure at kde.org
Thu Jun 26 01:30:18 BST 2008


On Friday 12 January 2007, Robert Penz wrote:
> - So the question is how can I inform the running konqueror processes that the 
> should reread the file?

Fixed now for kde-4.1:
qdbus org.kde.konqueror-25018 /KBookmarkManager/konqueror notifyCompleteChange
I -think- you only need to call it on one running konqueror, it will tell the others. Didn't test though.

Sorry it took so long.

> - And can I lock the file during writing and konqueror is fine with it?

I guess.

> - Does Konqueror lock the file before writing?

I don't think so. It uses KSaveFile to write it atomically (write to temp file, rename temp file),
but no lock needed (the coordination between konq instances is done by dbus anyway,
only one of them is writing the file after making a change).

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list