D10378: Deprecate KFileItemList and introduce KFileItemListV2

Mark Gaiser noreply at phabricator.kde.org
Thu Feb 8 00:09:31 UTC 2018


markg created this revision.
markg added a reviewer: dfaure.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
markg requested review of this revision.

REVISION SUMMARY
  Summary
  Deprecate KFileItemList. It's using QList and lacks move semantics.
  Introducing KFileItemListV2 which is just a using statement for std::vector<KFileItem>.
  This new list allows for more efficient moving of KFileItem objects using move semantics.
  
        
  
  Also added (and immediately deprecated) a "toKFileItemList" function that converta a KFileItemListV2 back to a KFileItemList to keep the public API usable.

REPOSITORY
  R241 KIO

BRANCH
  kfileitemlist2

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

AFFECTED FILES
  src/core/kfileitem.cpp
  src/core/kfileitem.h

To: markg, dfaure
Cc: #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180208/16304a1e/attachment.html>


More information about the Kde-frameworks-devel mailing list