[Development] QVariant container API
shkodindanil.letmework at gmail.com
Mon Apr 1 15:44:28 CEST 2019
> By the way, conversions through QVariant are *exactly* what I implemented
> the examples/corelib/serialization/convert tool.
Right, I've seen these to be helpful.
The global task would allow to code like this.
void mySlot(const QList<MyStruct>& value);
if(deserializer.deserialize(doc, mySlot.paremeterType(0), parameter)
The only difference from examples, is that library user specifies, what
datatype should be produced. This would alllow to significantly reduce the
amount of boilerplate code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development