Review Request 124633: Parse formfactor in KService and KPluginInfo
Sebastian Kügler
sebas at kde.org
Tue Aug 11 11:05:06 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124633/
-----------------------------------------------------------
(Updated Aug. 11, 2015, 11:05 a.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Frameworks, Plasma, Alex Richardson, and David Faure.
Changes
-------
Submitted with commit 6d82a824b3a7e5e87b4691439ecba064a75fa8a1 by Sebastian Kügler to branch master.
Repository: kservice
Description
-------
Parse formfactor in KService and KPluginInfo
Add an accessor QStringList KPluginInfo::formFactors()
This corresponds to the X-KDE-FormFactors value in the .desktop file,
and to the "FormFactors" value in the "KPlugin" block of the json
metadata.
We already have this in KPluginMetaData, this patch brings KPluginInfo
and KService in line with that. Previously, the keys would not be
recognized, and thus be missing from the KPluginMetaData if created
through a KPluginInfo or a KService. This patch fixes this inconsistent
behaviour.
Also bump the sycoca version.
Diffs
-----
autotests/fakeplugin.desktop 200f023
autotests/fakeplugin.json de4aed9
autotests/kplugininfotest.cpp d99b92a
autotests/kservicetest.h 380cf7b
autotests/kservicetest.cpp 2c71331
src/services/kplugininfo.h 7b98576
src/services/kplugininfo.cpp 56dc0b4
src/services/kservice.cpp 3639a28
src/services/kservice_p.h bf59f38
src/sycoca/ksycoca.cpp 32d1689
Diff: https://git.reviewboard.kde.org/r/124633/diff/
Testing
-------
Added new tests, no problems.
ksycocathreadtest currently fails, but this is unrelated (also in master without this patch).
Thanks,
Sebastian Kügler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150811/b2fc38e8/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list