QVariantMap would work too; I presume this is why the annotation is needed, rather than QtDBus automatically figuring out which type to use. This even checks that QHash<QString,QVariant> works in the annotation, although QVariantHash would be simpler to write, obviously. Change-Id: I7a339ca90f10e5ec97dcea1bb4dbba3c515e6b23 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com> |
||
|---|---|---|
| .. | ||
| qpinger | ||
| test | ||
| interface.cpp | ||
| interface.h | ||
| org.qtproject.QtDBus.Pinger.xml | ||
| qdbusabstractinterface.pro | ||
| tst_qdbusabstractinterface.cpp | ||