00001 #ifndef __REMAPDLG_H__ 00002 #define __REMAPDLG_H__ 00003 00004 #include <opie2/odevicebutton.h> 00005 00006 #include "remapdlgbase.h" 00007 00008 class QListViewItem; 00009 00010 00011 class RemapDlg : public RemapDlgBase { 00012 Q_OBJECT 00013 00014 public: 00015 RemapDlg ( const Opie::Core::ODeviceButton *b, bool hold, QWidget* parent = 0, const char* name = 0 ); 00016 ~RemapDlg ( ); 00017 00018 Opie::Core::OQCopMessage message ( ); 00019 00020 public slots: 00021 virtual void itemChanged ( QListViewItem * ); 00022 virtual void textChanged ( const QString & ); 00023 00024 private slots: 00025 void delayedInit ( ); 00026 00027 private: 00028 Opie::Core::OQCopMessage m_msg; 00029 Opie::Core::OQCopMessage m_msg_preset; 00030 00031 QListViewItem *m_current; 00032 00033 QListViewItem *m_map_none; 00034 QListViewItem *m_map_preset; 00035 QListViewItem *m_map_custom; 00036 QListViewItem *m_map_show; 00037 }; 00038 00039 #endif
1.4.2