>>() with that given object. Not
sure you need a factory with QMetaType if done properly.
From: Jason H
Sent: Wednesday, February 21, 2018 10:08:50 AM
To: Jérôme Godbout
Cc: interestqt-project.org
Subject: Re: [Interest] Serializing QSensorReading derived classes
to extend the support to the QAcceleromterReading and QAltimeterReading to do you own data reading and call the constructor with the proper deserialized data.
From: Interest on behalf of Jason H
Sent: Wednesday, February 21, 2018 1:05:35 AM
To: interestqt-project.org
Subject: [Interest] Seriali
gt;> x >> y >> z;
var.setAccelerationMode(mode);
var.reading().setX(x);
var.reading().setY(y);
var.reading().setZ(z);
From: Interest on behalf
of Jason H
Sent: Wednesday, February 21, 2018 1:05:35 AM
To: interestqt-project.org
Subject: [Inte
ding and
QAltimeterReading to do you own data reading and call the constructor with the
proper deserialized data.
From: Interest on behalf
of Jason H
Sent: Wednesday, February 21, 2018 1:05:35 AM
To: interestqt-project.org
Subject: [Interest] Serializing QSensorReading derived
I'd like to serialize these values.
QAcceleromterReading has x,y,z properties, but to serialize this one, the
accelerometer mode should also be included.
But aside from that, I'm not clear on what I need to do. There's adding the
QDataStream << >> (QDataScream stream, QSensorReading reading) ope