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

List:       kde-core-devel
Subject:    Re: getting x events with a kded module
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2003-01-11 14:09:13
[Download RAW message or body]

On Fri, Jan 10, 2003 at 07:07:57PM -0500, Pupeno wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm trying to port kaccess to be a kded module and the main problem is that I 
> don't know how to get X events in a kded module.
> Current kaccess code relies on: QApplication::x11EventFilter ( XEvent * )
> but of course, as not being a Q/KApplication, I can't use that function.
> What can I do then ?

kded makes regular use of KApplication and connects to the X server.
Using KApplication's installX11EventFilter API you should be able to
catch X11 events easily.

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

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