D12727: Introduce KFileItemListProperties::isFile()
This revision was automatically updated to reflect the committed changes. Closed by commit R241:c84c8afd7f55: Introduce KFileItemListProperties::isFile() (authored by elvisangelaccio). Restricted Application added a subscriber: kde-frameworks-devel. REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D12727?vs=33719=34929 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: kde-frameworks-devel, michaelh, ngraham, bruns
D12727: Introduce KFileItemListProperties::isFile()
dfaure accepted this revision. This revision is now accepted and ready to land. REPOSITORY R241 KIO BRANCH kfileitemprops-isfile (branched from master) REVISION DETAIL https://phabricator.kde.org/D12727 To: elvisangelaccio, #frameworks, dfaure Cc: michaelh, ngraham, bruns
D12727: Introduce KFileItemListProperties::isFile()
elvisangelaccio added a dependent revision: D12728: KFileItemActions: fallback to default mimetype when selecting only files. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D12727 To: elvisangelaccio, #frameworks, dfaure Cc: michaelh, ngraham, bruns
D12727: Introduce KFileItemListProperties::isFile()
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