D7533: KIO: port the URI filter plugins from KServiceTypeTrader to json+KPluginMetaData

David Faure noreply at phabricator.kde.org
Sat Aug 26 15:11:32 UTC 2017


dfaure added a comment.


  In https://phabricator.kde.org/D7533#139802, @bshah wrote:
  
  > > One thing I don't understand is the need for toString().toInt(),
  > >  or in other words, why my json file with a numeric value gets turned
  > >  into a string value when using qtplugininfo to inspect the plugin:
  >
  > Maybe you need to add following in the `src/widgets/kurifilterplugin.desktop`
  >
  >   [PropertyDef::X-KDE-InitialPreference]
  >   Type=int                              
  >
  
  
  Ah, indeed. That, and passing the servicetype file to kcoreaddons_add_plugin. Thanks!

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

To: dfaure, apol, davidedmundson, arichardson
Cc: vandenoever, elvisangelaccio, bshah, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170826/d9074992/attachment.html>


More information about the Kde-frameworks-devel mailing list