From kde-devel Thu Sep 27 12:28:13 2007 From: Kevin Krammer Date: Thu, 27 Sep 2007 12:28:13 +0000 To: kde-devel Subject: Re: QDbus / Strigi question Message-Id: <200709271428.17743.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-devel&m=119089614010795 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1403503152==" --===============1403503152== Content-Type: multipart/signed; boundary="nextPart1370392.pfdjHKgubq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1370392.pfdjHKgubq Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 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-si= gnatures However, it might be way more convenient to use the QT4_ADD_DBUS_INTERFACE= =20 CMake macro together with the XML introspection file to let the build proce= ss=20 generate an interface class for you. You can then do method calls as on a=20 local object and in most cases do not have to worry about D-Bus types. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart1370392.pfdjHKgubq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBG+6HhnKMhG6pzZJIRAmnvAJ0ecYSxwaOxJKC+zNu27YG52Nuf9ACdHDeq ejdpNEJ5LYdlO89MFIP+AXk= =u9DT -----END PGP SIGNATURE----- --nextPart1370392.pfdjHKgubq-- --===============1403503152== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1403503152==--