diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-30 18:52:35 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 09:43:33 (GMT) |
commit | c4fa498f447bd569ee91e16f07bdb7954b5adc76 (patch) | |
tree | 71ba3081cad4271f886d97eba1805041e82fedfd /tests/auto | |
parent | 485b2afb790444a0c6c2b32fbac65421e652dbe4 (diff) | |
download | Qt-c4fa498f447bd569ee91e16f07bdb7954b5adc76.zip Qt-c4fa498f447bd569ee91e16f07bdb7954b5adc76.tar.gz Qt-c4fa498f447bd569ee91e16f07bdb7954b5adc76.tar.bz2 |
Fix setting of complex/custom properties and error messages.
Complex properties require demarshalling before passing on to
QMetaProperty::write(). We can't pass on a QVariant containing an
un-demarshalled QDBusArgument.
So add a new function that does the decoding properly, as well as
error checking.
Also take the opportunity to properly check the interface name in the
case of setting a property exported from the object itself (not an
adaptor).
Task-number: 240608
Reviewed-by: Marius Bugge Monsen
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions