Diffstat (limited to 'noncore/apps/opie-reader/QtrListView.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/QtrListView.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/QtrListView.h b/noncore/apps/opie-reader/QtrListView.h new file mode 100644 index 0000000..c1b7f4d --- a/dev/null +++ b/noncore/apps/opie-reader/QtrListView.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef __QTRLISTVIEW_H | ||
2 | #define __QTRLISTVIEW_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | |||
6 | class QtrListView : public QListView | ||
7 | { | ||
8 | Q_OBJECT | ||
9 | |||
10 | virtual void keyPressEvent(QKeyEvent* e); | ||
11 | public: | ||
12 | QtrListView(QWidget* parent, char* name) : QListView(parent, name) {}; | ||
13 | |||
14 | signals: | ||
15 | void OnOKButton(QListViewItem*); | ||
16 | void OnCentreButton(QListViewItem*); | ||
17 | void OnCancelButton(); | ||
18 | }; | ||
19 | |||
20 | #endif | ||