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

List:       kde-devel
Subject:    Re: Implmenting DCOP
From:       Richard =?iso-8859-1?q?L=E4rk=E4ng?= <nouseforaname () home ! se>
Date:       2004-09-19 19:41:41
Message-ID: 200409192141.43027.nouseforaname () home ! se
[Download RAW message or body]

On Sunday 19 September 2004 20.28, PiggZ wrote:
> next question, a call to dcop returns kppp-PID,
>
> How do i manage to find the correct id to call? im sure ive seen this
> talked about before.

Something like:
dcop $(dcopfind -a kppp-*) KpppIface methodname
should work, I guess.

> Next, kppp emits a signal when it is connected, how would i listen for this
> in a script, or is it easier to just wait for say, a minute and presume it
> is connected?

I don't thinks it's possible to listen for a dcop-signal in a shell script, 
but I could be wrong. OTOH, if you program in something like perl/python/ruby 
there's bindings for DCOP in the kdebindings module, from which you can do 
really cool stuff.

> Cheers
>
> PiggZ

Richard Lärkäng
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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