[Kde-java] How to use Client.send(...)/call(...) / Code samples?

Kai Denker kdenker at gmx.net
Sun Sep 9 22:30:39 CEST 2007


Hi!

I want to use org.kde.DCOP.call(...) respectively .send(...) to call the 
function "openComposer()" on kmail. I wonder how to pass arguments to the
function I want to call.

 c.send("kmail", "KMailIface", "openComposer()", ...);

I guess, I have to insert them at the dots, but I don't know how to this, 
since the signatures of send and call expect an array of bytes or a single 
string.

I've searched for code samples, but didn't find any.

Regards,
	Kai Denker

-- 
Kai Denker - Landgraf-Georg-Str. 9 - 64283 Darmstadt
Tel.: 06151/3967959 - Mobil: 0179/2936396
kdenker at gmx.net - http://www.the-distraught-queen.de/



More information about the Kde-java mailing list