summaryrefslogtreecommitdiff
path: root/core/settings/button/remapdlg.h
blob: 046a22fdafb8cc332c9ff6baa30f53b28c02de40 (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 <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 slots:
	void delayedInit ( );

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;
	QListViewItem *m_map_show;
};

#endif