[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: [Semi-OT] How to get a dbus array of dbus_object_path from a
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-02-13 18:46:56
Message-ID: 200702131946.56651.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Iván Forcada Atienza wrote:
>QDBusReply< QList< QDBusObjectPath > > reply =
> dbus_iface.call("getDevices");
That's because we forgot to declare QList<QDBusObjectPath> as a Qt meta
type. You must do that and also register it with QtDBus if you're using
Qt 4.2.
So, somewhere out of all functions:
Q_DECLARE_METATYPE(QList<QDBusObjectPath>)
and in your code:
qDBusRegisterMetaType<QList<QDBusObjectPath> >();
(We've fixed it for Qt 4.3)
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic