D27966: KParts: add PartLoader as replacement to KMimeTypeTrader for parts
David Faure
noreply at phabricator.kde.org
Tue Mar 10 10:33:24 GMT 2020
dfaure created this revision.
dfaure added reviewers: aacid, nicolasfella, kossebau.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.
REVISION SUMMARY
It's based on the JSON metadata embedded into the plugins in kf5/parts/,
but it also has fallback code using KMimeTypeTrader internally until
KF6, so that we can start using PartLoader in applications.
TEST PLAN
Tested with partviewer, see also next commit for unittest
REPOSITORY
R306 KParts
REVISION DETAIL
https://phabricator.kde.org/D27966
AFFECTED FILES
src/CMakeLists.txt
src/partloader.cpp
src/partloader.h
tests/partviewer.cpp
To: dfaure, aacid, nicolasfella, kossebau
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200310/ce632657/attachment.html>
More information about the Kde-frameworks-devel
mailing list