diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-01 15:44:56 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 09:43:44 (GMT) |
commit | 962b7fde5194a08a83609b9b4367425e52f76614 (patch) | |
tree | bbf90c13a5376eaf1e87f02812fba08d30d561e0 /tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp | |
parent | 826c03c1c010a9d612007aa85ce3a5188edb0cb8 (diff) | |
download | Qt-962b7fde5194a08a83609b9b4367425e52f76614.zip Qt-962b7fde5194a08a83609b9b4367425e52f76614.tar.gz Qt-962b7fde5194a08a83609b9b4367425e52f76614.tar.bz2 |
Improve the code a bit more by using the variant that QMetaProperty creates.
This works for the case of complex types that have to be demarshalled.
We don't need to instantiate a new type because QMetaProperty has already
done that for us.
Also, fix the handling of properties of type variant. I have verified
as well that the sending of those properties on the wire use a
double-variant encoding (i.e., a variant containing a variant
containing some data, the same that Qt 4.5 uses). It's a bit pedantic
and it's hard to use when reading stuff, because you get a QVariant
containing a QDBusVariant which contains data, but I can't change this
anymore.
Reviewed-By: Marius Bugge Monsen
Diffstat (limited to 'tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp')
0 files changed, 0 insertions, 0 deletions