D27760: WIP | Added BatchMoveJob

Emirald Mateli noreply at phabricator.kde.org
Fri Apr 3 09:06:50 BST 2020


emateli added inline comments.

INLINE COMMENTS

> batchmovejobtest.cpp:89
> +        KIO::Job *job = KIO::batchMove(items);
> +        KIO::FileUndoManager::self()->recordJob(KIO::FileUndoManager::CommandType::BatchMove, QList<QUrl>{}, QUrl(), job);
> +        job->setUiDelegate(nullptr);

@dfaure How do I correctly register this job so I can undo it in one operation (In the undo call a few lines below)

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D27760

To: emateli, dfaure, ngraham
Cc: nicolasfella, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200403/1c9dc710/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list