summaryrefslogtreecommitdiff
path: root/core/settings/button/remapdlg.h
blob: 6cdd6784a8e492e9e36b5889e9a2a5296342de46 (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
36
37
38
39
#ifndef __REMAPDLG_H__
#define __REMAPDLG_H__

#include <opie2/odevicebutton.h>

#include "remapdlgbase.h"

class QListViewItem;


class RemapDlg : public RemapDlgBase { 
    Q_OBJECT

public:
    RemapDlg ( const Opie::Core::ODeviceButton *b, bool hold, QWidget* parent = 0, const char* name = 0 );
    ~RemapDlg ( );

	Opie::Core::OQCopMessage message ( );

public slots:
	virtual void itemChanged ( QListViewItem * );
	virtual void textChanged ( const QString & );
	
private slots:
	void delayedInit ( );

private:
	Opie::Core::OQCopMessage m_msg;
	Opie::Core::OQCopMessage m_msg_preset;
	
	QListViewItem *m_current;
	
	QListViewItem *m_map_none;
	QListViewItem *m_map_preset;
	QListViewItem *m_map_custom;
	QListViewItem *m_map_show;
};

#endif