D12727: Introduce KFileItemListProperties::isFile()

Elvis Angelaccio noreply at phabricator.kde.org
Sun May 6 18:31:49 UTC 2018


elvisangelaccio created this revision.
elvisangelaccio added reviewers: Frameworks, dfaure.
Restricted Application added a project: Frameworks.
elvisangelaccio requested review of this revision.

REVISION SUMMARY
  This method can be used to check whether a list of selected
  URLs contains only files (and zero folders).
  
  The implementation matches the isDirectory() method and relies
  on the values returned by KFileItem::isFile().
  
  Unit test is updated accordingly.

REPOSITORY
  R241 KIO

BRANCH
  kfileitemprops-isfile (branched from master)

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

AFFECTED FILES
  autotests/kfileitemtest.cpp
  src/core/kfileitemlistproperties.cpp
  src/core/kfileitemlistproperties.h

To: elvisangelaccio, #frameworks, dfaure
Cc: michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180506/a0e32146/attachment.html>


More information about the Kde-frameworks-devel mailing list