[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-18 12:12:24
Message-ID: 200702181312.34028.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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.

-- 
  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