summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/okeyconfigwidget.h9
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
@@ -64,17 +64,23 @@ public:
64 64
65 OKeyConfigItem handleKeyEvent( QKeyEvent* ); 65 OKeyConfigItem handleKeyEvent( QKeyEvent* );
66 QString handleKeyEventString( QKeyEvent* ); 66 QString handleKeyEventString( QKeyEvent* );
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* );
70signals: 72signals:
71 void keyConfigChanged( OKeyConfig* ); 73 void keyConfigChanged( OKeyConfig* );
74 void actionActivated( QWidget*, QKeyEvent*, const OKeyConfigItem& );
72 75
73private: 76private:
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
78class OKeyConfigWidget : public QHBox { 84class OKeyConfigWidget : public QHBox {
79 Q_OBJECT 85 Q_OBJECT
80public: 86public:
@@ -84,12 +90,15 @@ public:
84 ~OKeyConfigWidget(); 90 ~OKeyConfigWidget();
85 91
86 void setChangeMode( enum ChangeMode ); 92 void setChangeMode( enum ChangeMode );
87 ChangeMode changeMode()const; 93 ChangeMode changeMode()const;
88 94
89 void reload(); 95 void reload();
96private:
97 class Private;
98 Private *d;
90}; 99};
91 100
92} 101}
93} 102}
94 103
95 104