Add undo support to BatchRenameJob
ClosedPublic

Authored by chinmoyr on Dec 2 2017, 2:18 PM.

Details

Summary

This patch makes undoing a batch rename possible.

Depends on D9103

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
chinmoyr created this revision.Dec 2 2017, 2:18 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 2 2017, 2:18 PM
chinmoyr requested review of this revision.Dec 2 2017, 2:18 PM
dfaure requested changes to this revision.Dec 2 2017, 2:46 PM

Good stuff.

autotests/fileundomanagertest.cpp
697

use .at(0) to avoid detaching

src/widgets/fileundomanager.h
136–138

add docu for BatchRename

This revision now requires changes to proceed.Dec 2 2017, 2:46 PM
chinmoyr updated this revision to Diff 23290.Dec 2 2017, 4:43 PM
chinmoyr marked 2 inline comments as done.

minor changes

dfaure accepted this revision.Dec 2 2017, 5:09 PM
This revision is now accepted and ready to land.Dec 2 2017, 5:09 PM

Please don't push this while in string freeze because you added a new translatable ('i18n()') message.

https://community.kde.org/Schedules/Frameworks

dfaure added a comment.Dec 3 2017, 9:47 AM

The RC is tagged, you can push.

This revision was automatically updated to reflect the committed changes.