From kde-devel Tue Jun 16 00:08:21 2009 From: Ian Wadham Date: Tue, 16 Jun 2009 00:08:21 +0000 To: kde-devel Subject: Re: Press any key ... Message-Id: <200906161008.21521.ianw2 () optusnet ! com ! au> X-MARC-Message: https://marc.info/?l=kde-devel&m=124515768909914 On Mon, 15 Jun 2009 5:26:28 pm Oswald Buddenhagen wrote: > On Mon, Jun 15, 2009 at 09:27:46AM +1000, Ian Wadham wrote: > > Is there some simple way to bypass the shortcuts temporarily and > > restore them later? > > topLevelWidget()->installEventFilter(this); > and listen for KeyPress events. > > just a shot in the dark ... > Thanks very much. That looks as if it will do the trick. There is also a removeEventFilter(), for restoring shortcuts. All the best, Ian W. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<