[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: accel problems: might be qt-copt, might be kdelibs
From: Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date: 2002-10-13 11:52:03
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 13 October 2002 13:11, Alexander Neundorf wrote:
> On Sunday 13 October 2002 12:33, Ingo Klöcker wrote:
> ...
>
> > The problem is that we want to override all actions of the listview
> > with our own KActions. And these KActions are defined in
> > KMMainWindow because it handles the actions for all our widgets. I
> > guess we will have to overwrite KListView::keyPressEvent() in order
> > to prevent the listview from stealing our keys. The following crude
> > patch which simply hides all key press events from our listview
> > seems to fix our problems AFAICS.
> >
> > + virtual void keyPressEvent( QKeyEvent* ) {};
>
> Shouldn't it be keyPressEvent(QKEyEvent *e) { e->ignore();} ?
Yes, you are right.
Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9qV5oGnR+RTDgudgRAh7LAJkBtjRI0pbud1+VK2j3AdmuLCcQIQCg2fiW
a+zfYOblaeiU5Z4qtsQ9tk0=
=5TP6
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic