From dbde00826e485c509471961a15f95395a81b3b72 Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 24 Mar 2004 00:06:20 +0000 Subject: Ideas from Mickey. Install eventFilter for a widget as well and then send a signal --- diff --git a/libopie2/opieui/okeyconfigwidget.h b/libopie2/opieui/okeyconfigwidget.h index d76ea46..bcbb579 100644 --- a/libopie2/opieui/okeyconfigwidget.h +++ b/libopie2/opieui/okeyconfigwidget.h @@ -67,11 +67,17 @@ public: void addKeyConfig( const OKeyConfigItem& ); void removeKeyConfig( const OKeyConfigItem& ); + + void handleWidget( QWidget* ); signals: void keyConfigChanged( OKeyConfig* ); + void actionActivated( QWidget*, QKeyEvent*, const OKeyConfigItem& ); private: OKeyConfigItemList m_keys; + QValueList m_widgets; + class Private; + Private *d; }; @@ -87,6 +93,9 @@ public: ChangeMode changeMode()const; void reload(); +private: + class Private; + Private *d; }; } -- cgit v0.9.0.2