[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] DCOP call to ktorrent
From:       Caleb Tennis <caleb () aei-tech ! com>
Date:       2006-08-30 11:03:05
Message-ID: 95E7898D-DB3D-418A-AC93-A56F5182AD14 () aei-tech ! com
[Download RAW message or body]

>
> 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


_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic