Add string formatting function to property info

Authored by astippich on Feb 9 2019, 4:41 PM.

Description

Add string formatting function to property info

Summary:
Adds the ability to format the metadata value
for displaying purposes individually for each
property. Currently, users of KFileMetaData
must implement their own custom formatting
functions.
All custom formatting functions from
Baloo-Widgets and Dolphin are copied into
KFileMetaData. This can be extended later.

This adds a dependency on KCoreAddons to
KFileMetaData.

FEATURE: 398581

Test Plan: tests pass

Reviewers: broulik, bruns, mgallien, Frameworks

Reviewed By: bruns

Subscribers: ngraham, kde-frameworks-devel, Baloo

Tags: Frameworks, Baloo

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

Details

Committed
astippichFeb 10 2019, 5:35 PM
Reviewer
bruns
Differential Revision
D17245: Add string formatting function to property info
Parents
R286:73d5fbbf5fb0: Avoid leaking a QObject in ExternalExtractor
Branches
Unknown
Tags
Unknown