D17245: Add string formatting function to property info
Alexander Stippich
noreply at phabricator.kde.org
Thu Nov 29 21:16:08 GMT 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181129/2810b37f/attachment.html>
More information about the Kde-frameworks-devel
mailing list