summaryrefslogtreecommitdiff
path: root/core/settings/button/remapdlg.h
blob: 8c9cc020c2bbc1117e4dc4d393ba73fb428befd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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