D16469: Make NetworkPacket Metatype-capable
Simon Redman
noreply at phabricator.kde.org
Sat Oct 27 21:43:30 BST 2018
sredman created this revision.
sredman added a reviewer: KDE Connect.
Herald added a project: KDE Connect.
Herald added a subscriber: kdeconnect.
sredman requested review of this revision.
REVISION SUMMARY
I am open to discussion for whether this is desireable. The use-case is for moving NetworkPacket receive handling to a thread other than the one handling the rest of the device. In order to do this, we need to use a QtConnectionType::QueuedConnection. In order for that to work (with NetworkPackets), NetworkPacket has to be registered in the Metatype system.
TEST PLAN
Nothing should be functionally different from before
REPOSITORY
R224 KDE Connect
BRANCH
NetworkPacket-MetaType
REVISION DETAIL
https://phabricator.kde.org/D16469
AFFECTED FILES
core/networkpacket.cpp
core/networkpacket.h
To: sredman, #kde_connect
Cc: kdeconnect, skymoore, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20181027/a24ccfb3/attachment.html>
More information about the KDEConnect
mailing list