QVariant

qtdatastream~ QVariant

new QVariant(obj)

This class allow users to force a specific object to be recognized as a QVariant for the Writer

Parameters:
Name Type Description
obj *
Source:
Example
new Writer("a string"); // will be written as QString
new Writer(new QVariant("a string")); // will be written as QVariant<QString>