Implement rename() in a way that avoids losing custom icon positions.

Authored by hein on Feb 23 2016, 1:48 PM.

Description

Implement rename() in a way that avoids losing custom icon positions.

If built against KIO v5.20+ we use a new version of the KDirNotify
file rename notification interface that allows providing enough
information to allow KCoreDirLister to announce a file change
instead of relisting the affected file(s) and causing position data
to be lost. We also make use of a new mechanism for informing KIO that
kio_desktop will in fact take care of producing the rename notification
by itself, avoiding KIO::SimpleJob doing it as well (and losing the old,
lossy interface since it doesn't have the same information we have
available in kio_desktop).

Reviewed-by: faure@kde.org
BUG:359596

Details

Committed
heinFeb 23 2016, 1:48 PM
Parents
R120:e75da55bb85f: rss dataengine: blindly ported to KIO::FavIconRequestJob, in case it's re…
Branches
Unknown
Tags
Unknown