[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-19 18:01:30
Message-ID: 20070219180130.GA10292 () masao ! forcada ! info
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi again!!
[dom, 18 feb 2007 13:12:24 +0100] - Thiago Macieira:
> Iván Forcada Atienza wrote:
> >But I'm too obstinate to give up, and finally found a workaround using
> >QDBusMessage (mail appart).
>
> Don't use workarounds. Use the proper methods.
>
> I didn't realise what the problem was until I tested it. The reply isn't a
> list of variants. It's a map.
>
> So, you should use QVariantMap (i.e., QMap<QString, QVariant>) not a
> QVariantList.
Hmmm... I must be missing something because I keep getting
"InvalidSignature" error, no matter if I use QVariantMap or
QMap<QString,QVariant>, and even if I use qDBusRegisterMetaType and
Q_DECLARE_METATYPE.
Cheers.
--
__________________________________________________________________
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