Diffstat (limited to 'noncore/apps/opie-reader/QtrListView.h') (more/less context) (show 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 @@ +#ifndef __QTRLISTVIEW_H +#define __QTRLISTVIEW_H + +#include <qlistview.h> + +class QtrListView : public QListView +{ + Q_OBJECT + + virtual void keyPressEvent(QKeyEvent* e); + public: + QtrListView(QWidget* parent, char* name) : QListView(parent, name) {}; + + signals: + void OnOKButton(QListViewItem*); + void OnCentreButton(QListViewItem*); + void OnCancelButton(); +}; + +#endif |