summaryrefslogtreecommitdiff
path: root/core/settings/button/remapdlg.h
authorsandman <sandman>2002-12-22 23:46:02 (UTC)
committer sandman <sandman>2002-12-22 23:46:02 (UTC)
commit92fb302dd801e7f568cd9d66025431e79dad9771 (patch) (side-by-side diff)
tree1303acdd800fd01d221a1aa261f2ee730ada4ec1 /core/settings/button/remapdlg.h
parentc5de1fcc13b32e7c1f893dc3f8a1385b8698ebaf (diff)
downloadopie-92fb302dd801e7f568cd9d66025431e79dad9771.zip
opie-92fb302dd801e7f568cd9d66025431e79dad9771.tar.gz
opie-92fb302dd801e7f568cd9d66025431e79dad9771.tar.bz2
New button settings -- replaces AppsKey, which does not work anymore with
the new device button framework
Diffstat (limited to 'core/settings/button/remapdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/button/remapdlg.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/core/settings/button/remapdlg.h b/core/settings/button/remapdlg.h
new file mode 100644
index 0000000..8c9cc02
--- a/dev/null
+++ b/core/settings/button/remapdlg.h
@@ -0,0 +1,35 @@
+#ifndef __REMAPDLG_H__
+#define __REMAPDLG_H__
+
+#include <opie/odevicebutton.h>
+
+#include "remapdlgbase.h"
+
+class QListViewItem;
+
+
+class RemapDlg : public RemapDlgBase {
+ Q_OBJECT
+
+public:
+ RemapDlg ( const Opie::ODeviceButton *b, bool hold, QWidget* parent = 0, const char* name = 0 );
+ ~RemapDlg ( );
+
+ Opie::OQCopMessage message ( );
+
+public slots:
+ virtual void itemChanged ( QListViewItem * );
+ virtual void textChanged ( const QString & );
+
+private:
+ Opie::OQCopMessage m_msg;
+ Opie::OQCopMessage m_msg_preset;
+
+ QListViewItem *m_current;
+
+ QListViewItem *m_map_none;
+ QListViewItem *m_map_preset;
+ QListViewItem *m_map_custom;
+};
+
+#endif