[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: Iván Forcada Atienza <ivan () swscanner ! org>
Date: 2007-02-13 19:17:52
Message-ID: 20070213191752.GA28535 () masao ! forcada ! info
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[mar, 13 feb 2007 19:46:56 +0100] - Thiago Macieira:
> 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)
Great!!! That worked!!!! :-)))))
Thanks a lot!!
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
--
__________________________________________________________________
Iván Forcada Atienza:
correo: ivan@forcada.info
jabber: ivanfor@jabber.guadawireless.org
------------------------------------------------------------------
Nodo guada21 en GuadaWireless usando Debian GNU/Linux:
http://el21.guadawireless.net
------------------------------------------------------------------
"Software is like sex: it's better when it's free" (Linus Torvalds)
[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