D11870: Allow JSONObject in a NetworkPacket

Simon Redman noreply at phabricator.kde.org
Mon Apr 2 18:44:11 UTC 2018


sredman added a comment.


  In D11870#238688 <https://phabricator.kde.org/D11870#238688>, @albertvaka wrote:
  
  > This looks like a good idea.
  >
  > Do you have the desktop-side implementation? We will need them both for this to be of use.
  
  
  Wouldn't np.get<QVariantMap>("key") work? I can't remember if I actually tested it.... As soon as I had the packet on the desktop side I realized I needed a list instead of a map.
  
  (See the comment on line 66 of core/networkpacket.h: "Important note: Awesome template syntax is awesome")

REPOSITORY
  R225 KDE Connect - Android application

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

To: sredman, #kde_connect
Cc: albertvaka, #kde_connect, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ahmedbesbes, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, ach, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180402/e746d327/attachment.html>


More information about the KDEConnect mailing list