Diffstat (limited to 'libopie2/opieui/okeyconfigwidget_p.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opieui/okeyconfigwidget_p.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libopie2/opieui/okeyconfigwidget_p.h b/libopie2/opieui/okeyconfigwidget_p.h new file mode 100644 index 0000000..e7eaba6 --- a/dev/null +++ b/libopie2/opieui/okeyconfigwidget_p.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* | ||
2 | * Only Internal implemented in the same .cpp file anyway | ||
3 | */ | ||
4 | #include <opie2/olistview.h> | ||
5 | |||
6 | |||
7 | namespace Opie { | ||
8 | namespace Ui { | ||
9 | namespace Private { | ||
10 | static QString keyToString( const OKeyPair& ); | ||
11 | static void fixupKeys( int&, int&, QKeyEvent* ); | ||
12 | class OKeyListViewItem : public Opie::Ui::OListViewItem { | ||
13 | public: | ||
14 | OKeyListViewItem( const OKeyConfigItem& item, OKeyConfigManager*, Opie::Ui::OListViewItem* parent); | ||
15 | ~OKeyListViewItem(); | ||
16 | |||
17 | void setDefault(); | ||
18 | |||
19 | OKeyConfigItem& item(); | ||
20 | OKeyConfigItem origItem()const; | ||
21 | void setItem( const OKeyConfigItem& item ); | ||
22 | void updateText(); | ||
23 | |||
24 | OKeyConfigManager *manager(); | ||
25 | private: | ||
26 | OKeyConfigItem m_item; | ||
27 | OKeyConfigItem m_origItem; | ||
28 | OKeyConfigManager* m_manager; | ||
29 | |||
30 | }; | ||
31 | } | ||
32 | } | ||
33 | } | ||