D26137: Add KPluginMetaData::supportsMimeType
David Faure
noreply at phabricator.kde.org
Sat Dec 21 00:08:22 GMT 2019
dfaure created this revision.
dfaure added reviewers: arichardson, aacid.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.
REVISION SUMMARY
This will be useful to look up KParts using KPluginLoader::findPlugins.
I would bet most users of KPluginMetaData::mimeTypes() do it wrong
because they don't handle inheritance...
TEST PLAN
Test passes
REPOSITORY
R244 KCoreAddons
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D26137
AFFECTED FILES
autotests/jsonplugin.json
autotests/jsonplugin2.json
autotests/kpluginloadertest.cpp
src/lib/plugin/kpluginmetadata.cpp
src/lib/plugin/kpluginmetadata.h
To: dfaure, arichardson, aacid
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191221/ada4b8f1/attachment.html>
More information about the Kde-frameworks-devel
mailing list