[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: QDbus / Strigi question
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2007-09-27 12:28:13
Message-ID: 200709271428.17743.kevin.krammer () gmx ! at
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Thursday 27 September 2007, Carsten Niehaus wrote:
> Of course I read the XESAM docs [1] but I simply don't understand it. What
> is meant with:
>
> GetState (out as state_info)
>
> Does it mean that the return-value is called state_info? The doc says
>
> "state_info is an array of two strings"
>
> So what shuold I use in QDBusReply<T> for T? QString is obviously wrong...
>
> And what is "aav hits" or "u num" in this API:
>
> GetHits (in s search, in u num, out aav hits)
>
> Neither "u" nor "aav" is mentioned anywhere in the docs...
The D-Bus signatures are explained here:
http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-signatures
However, it might be way more convenient to use the QT4_ADD_DBUS_INTERFACE
CMake macro together with the XML introspection file to let the build process
generate an interface class for you. You can then do method calls as on a
local object and in most cases do not have to worry about D-Bus types.
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
["signature.asc" (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