00001 #ifndef OPIE_BT_CONFIG_WIDGET_H 00002 #define OPIE_BT_CONFIG_WIDGET_H 00003 00004 #include "profiledialogwidget.h" 00005 00006 class QVBoxLayout; 00007 class QLabel; 00008 class QComboBox; 00009 class QLineEdit; 00010 class QRadioButton; 00011 class IOLayerBase; 00012 class BTConfigWidget : public ProfileDialogConnectionWidget { 00013 00014 Q_OBJECT 00015 00016 public: 00017 BTConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); 00018 ~BTConfigWidget(); 00019 00020 void load( const Profile& ); 00021 void save( Profile& ); 00022 private: 00023 QVBoxLayout* m_lay; 00024 QLabel* m_device; 00025 QComboBox* m_deviceCmb; 00026 IOLayerBase* m_base; 00027 QLineEdit* m_mac; 00028 QRadioButton *m_macRadio; 00029 QRadioButton *m_devRadio; 00030 00031 private slots: 00032 void slotMacRadio( bool on ); 00033 void slotDevRadio( bool on ); 00034 }; 00035 00036 00037 #endif
1.4.2