[Kde-bindings] DCOP call to ktorrent

Caleb Tennis caleb at aei-tech.com
Wed Aug 30 11:03:05 UTC 2006


>
> Does it take more than this to connect to a running DCOP slot?  It  
> seems like I have to setup
> the dcopclient before I make a "call".
>

Yeah, I do something like this:

@dcopclient = KDE::DCOPClient.new
@dcopclient.attach
@dcopclient.registerAs("my_app_name",false)

@dcop = KDE::DCOPRef.new("other_app_name","object_identity")
@dcop.setDCOPClient(@dcopclient)

Then @dcop will work as normal.

HTH,
Caleb





More information about the Kde-bindings mailing list