summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/quick_button.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/quick_button.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/quick_button.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/quick_button.h b/noncore/apps/opie-console/quick_button.h
new file mode 100644
index 0000000..d3eb1bb
--- a/dev/null
+++ b/noncore/apps/opie-console/quick_button.h
@@ -0,0 +1,27 @@
+#ifndef QUICK_BUTTON_H
+#define QUICK_BUTTON_H
+
+#include <qframe.h>
+
+class QuickButton : public QFrame {
+
+ Q_OBJECT
+
+public:
+ QuickButton( QWidget *parent = 0 );
+ ~QuickButton();
+
+ signals:
+
+ void keyPressed( ushort, ushort, bool, bool, bool );
+
+private slots:
+ void hitEnter();
+ void hitSpace();
+ void hitTab();
+ void hitPaste();
+ void hitUp();
+ void hitDown();
+};
+
+#endif