Summary: | Add ability for extractor to add display text | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kfilemetadata | Reporter: | Kai Uwe Broulik <kde> |
Component: | general | Assignee: | Pinak Ahuja <pinak.ahuja> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kfilemetadata/4bedfd6609c6efe5dc327d305feac8985d4658e3 | Version Fixed In: |
Description
Kai Uwe Broulik
2018-09-13 15:13:00 UTC
Git commit 4bedfd6609c6efe5dc327d305feac8985d4658e3 by Alexander Stippich. Committed on 10/02/2019 at 17:35. Pushed by astippich into branch 'master'. 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. 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 M +5 -0 CMakeLists.txt M +29 -0 autotests/propertyinfotest.cpp M +1 -0 autotests/propertyinfotest.h M +2 -0 src/CMakeLists.txt A +86 -0 src/formatstrings.cpp [License: LGPL (v2.1+)] C +23 -10 src/formatstrings_p.h [from: autotests/propertyinfotest.h - 053% similarity] M +27 -0 src/propertyinfo.cpp M +7 -0 src/propertyinfo.h https://commits.kde.org/kfilemetadata/4bedfd6609c6efe5dc327d305feac8985d4658e3 |