[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: RE: DCop stuff
From: David Faure <David.Faure () CRAMER ! CO ! UK>
Date: 1999-10-12 14:37:01
[Download RAW message or body]
> -----Original Message-----
> From: mosfet@mercury.jorsm.com [mailto:mosfet@mercury.jorsm.com]On
> Behalf Of Mosfet
> Sent: Tuesday, October 12, 1999 3:31 PM
> To: kde-core-devel@kde.org
> Subject: DCop stuff
>
>
> Since this seems like a popular issue I got a question ;-) I
> am porting some code
> I had for an application launcher to kicker that allows
> applications to export
> menus to the K menu. I want to use DCop instead of properties. I see
> methods to
> call remote objects, but they all use QByteArray and QStrings as the
> parameter
> data. What is the proper way to encode and send different and multiple
> parameters to remote objects?
Using QDataStream afaik, with the '<<' operator, to fill the QByteArray.
Example of such code can be found in the koffice store and filters, but
I know you don't even need examples since you ate a Qt book when being a kid
:)
--
David Faure
faure@kde.org - KDE developer
david@mandrakesoft.com - Mandrake
david.faure@cramer.co.uk - Cramer Systems
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic