author | zecke <zecke> | 2004-03-24 00:06:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-24 00:06:20 (UTC) |
commit | dbde00826e485c509471961a15f95395a81b3b72 (patch) (unidiff) | |
tree | 92ac26cc77cb6f9df4c49606b2b791adedb1ba48 | |
parent | c8acbf192ca4aa64ed66306ca872cb3860590b3c (diff) | |
download | opie-dbde00826e485c509471961a15f95395a81b3b72.zip opie-dbde00826e485c509471961a15f95395a81b3b72.tar.gz opie-dbde00826e485c509471961a15f95395a81b3b72.tar.bz2 |
Ideas from Mickey. Install eventFilter for a widget as well and then
send a signal
-rw-r--r-- | libopie2/opieui/okeyconfigwidget.h | 9 |
1 files changed, 9 insertions, 0 deletions
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: | |||
67 | 67 | ||
68 | void addKeyConfig( const OKeyConfigItem& ); | 68 | void addKeyConfig( const OKeyConfigItem& ); |
69 | void removeKeyConfig( const OKeyConfigItem& ); | 69 | void removeKeyConfig( const OKeyConfigItem& ); |
70 | |||
71 | void handleWidget( QWidget* ); | ||
70 | signals: | 72 | signals: |
71 | void keyConfigChanged( OKeyConfig* ); | 73 | void keyConfigChanged( OKeyConfig* ); |
74 | void actionActivated( QWidget*, QKeyEvent*, const OKeyConfigItem& ); | ||
72 | 75 | ||
73 | private: | 76 | private: |
74 | OKeyConfigItemList m_keys; | 77 | OKeyConfigItemList m_keys; |
78 | QValueList<QWidget*> m_widgets; | ||
79 | class Private; | ||
80 | Private *d; | ||
75 | }; | 81 | }; |
76 | 82 | ||
77 | 83 | ||
@@ -87,6 +93,9 @@ public: | |||
87 | ChangeMode changeMode()const; | 93 | ChangeMode changeMode()const; |
88 | 94 | ||
89 | void reload(); | 95 | void reload(); |
96 | private: | ||
97 | class Private; | ||
98 | Private *d; | ||
90 | }; | 99 | }; |
91 | 100 | ||
92 | } | 101 | } |