[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: QtDBus and user types problem
From: Sebastian =?iso-8859-1?q?Tr=FCg?= <strueg () mandriva ! com>
Date: 2006-11-03 14:34:44
Message-ID: 200611031534.45152.strueg () mandriva ! com
[Download RAW message or body]
Hi guys,
I hope it is ok to also ask question regarding the DBus bindings on this list.
Anyway, this is my problem:
I have a generic Message class which I use to hide DBus from the API of my
library. That is all no problem until I use user types in my calls.
Now when I use QDBusInterface::callWithArgumentList to retrieve a return
value of type MyUserType I get a QList<QVariant>. And the QVariant contains a
QDBusArgument instead of MyUserType.
Is this intended behaviour? Isn't is possible to demarshall it already and
provide a MyUserType in the QVariant?
And if not, is there a generic way for me to demarshall it manually into the
registered user types so I can provide a clean QVariant-based interface in my
Message class?
Thanks,
Sebastian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic