astippich created this revision. astippich added reviewers: broulik, bruns, mgallien. Herald added projects: Frameworks, Baloo. Herald added subscribers: Baloo, kde-frameworks-devel. astippich requested review of this revision.
REVISION 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 REPOSITORY R286 KFileMetaData BRANCH display_value REVISION DETAIL https://phabricator.kde.org/D17245 AFFECTED FILES CMakeLists.txt autotests/propertyinfotest.cpp autotests/propertyinfotest.h src/CMakeLists.txt src/formatstrings.cpp src/formatstrings.h src/propertyinfo.cpp src/propertyinfo.h To: astippich, broulik, bruns, mgallien Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams