D27966: KParts: add PartLoader as replacement to KMimeTypeTrader for parts

Albert Astals Cid noreply at phabricator.kde.org
Tue Mar 10 21:25:56 GMT 2020


aacid added inline comments.

INLINE COMMENTS

> partloader.h:59
> +     */
> +    KPARTS_EXPORT QVector<KPluginMetaData> partsForMimeType(const QString &mimeType);
> +

What's the use for this? The function below doesn't let me chose which one i want (i guess it always uses the one with the most preference?), so why would i need to query which parts are available?

Maybe there should be a version of create that takes a KPluginMetadata?

REPOSITORY
  R306 KParts

REVISION DETAIL
  https://phabricator.kde.org/D27966

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/d219bd60/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list