bruns added a comment.
In D19098#414729 <https://phabricator.kde.org/D19098#414729>, @astippich wrote: > It already does at two different places, because it fuses different information into a single QMap later on (xattr, file size etc...) > https://phabricator.kde.org/source/baloo-widgets/browse/master/src/extractor.cpp$65 > https://phabricator.kde.org/source/baloo-widgets/browse/master/src/filefetchjob.cpp$62 This can be done by using a KFM::PropertyMap directly, and adding property types for the UserMetaData (tags, comment, rating). Note, the strings returned by PropertyInfo::name() are not shared ... > I would like to consolidate the two different implementations of the conversion functions. I think it is also useful for debugging purposes, e.g. dumping a property map to cmd line. The latter can be achieved by making KFM::Property known to QDebug. REPOSITORY R286 KFileMetaData REVISION DETAIL https://phabricator.kde.org/D19098 To: astippich, bruns, ngraham Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams