Diffusion KIO c84c8afd7f55

Introduce KFileItemListProperties::isFile()

Authored by elvisangelaccio on May 6 2018, 12:55 PM.

Description

Introduce KFileItemListProperties::isFile()

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.

Reviewers: Frameworks, dfaure

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D12727

Details

Committed
elvisangelaccioMay 26 2018, 4:35 PM
Differential Revision
D12727: Introduce KFileItemListProperties::isFile()
Parents
R241:047f5fe92117: [KPropertiesDialog] Support X-KDE-Protocols
Branches
Unknown
Tags
Unknown