summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/btconfigwidget.h
blob: d60d8a2570d0a0108f204640d1f60088cdca27a3 (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
#ifndef OPIE_BT_CONFIG_WIDGET_H
#define OPIE_BT_CONFIG_WIDGET_H

#include "profiledialogwidget.h"

class QVBoxLayout;
class QLabel;
class QComboBox;
class QLineEdit;
class QRadioButton;
class IOLayerBase;
class BTConfigWidget : public ProfileDialogConnectionWidget {

    Q_OBJECT

public:
    BTConfigWidget( const QString& name, QWidget* parent, const char* name = 0l );
    ~BTConfigWidget();

    void load( const Profile& );
    void save( Profile& );
private:
    QVBoxLayout* m_lay;
    QLabel* m_device;
    QComboBox* m_deviceCmb;
    IOLayerBase* m_base;
    QLineEdit* m_mac;
    QRadioButton *m_macRadio;
    QRadioButton *m_devRadio;

private slots:
    void slotMacRadio( bool on );
    void slotDevRadio( bool on );
};


#endif