[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-18 4:08:25
Message-ID: 20070218040825.GA2672 () masao ! forcada ! info
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi again!!
[sáb, 17 feb 2007 21:22:45 +0100] - Thiago Macieira:
> Iván Forcada Atienza wrote:
> >Is there any way of getting this information using QtDBus???
> >I'm using "QDBusReply< QList<QDBusVariant> > reply =
> > dbus_iface.call("getProperties");" but no success :-(. Also tried
> > QList<QVariant> and QDbusVariant alone with same results.
> >
> >Any hints?
> 
> qDBusRegisterMetaType<QVariantList>();
> [...]
> QDBusReply<QVariantList> reply = bus_iface.call("GetProperties");

No :-( ... same behaviour with QVariantList than with QList<QVariant>.
In fact, they are a typedef. I allways get: 
"Unexpected reply signature(org.freedesktop.DBus.Error.InvalidSignature)"

It seems that I'll have to use glib binding of dbus :-S

Thank you Thiago!! :-)))

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