[mythtv] "global" keys?
thor
mythtv at lamedomainname.com
Wed Sep 24 13:44:07 EDT 2003
On Wednesday 24 September 2003 12:35 pm, Renchi Raju wrote:
> an easy way is to install a global eventfilter in all modules
> (fairly easy with QObject::installEventFilter) and then let this
> handle the keypresses and ignore any that it can't understand. For
> this to be done, make a class derived from qobject which installs
> the eventfilter. All myth modules can inherit from this class
> instead of qobject directly.
That doesn't solve the in scope problems. When mythmusic (for
example) is running, core mythfrontend has no way to receive key
events and (subsequently) force mythmusic to close.
- thor
More information about the mythtv-dev
mailing list