Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h index fb1844c..023af7a 100644 --- a/noncore/net/opietooth/manager/bluebase.h +++ b/noncore/net/opietooth/manager/bluebase.h | |||
@@ -9,48 +9,50 @@ | |||
9 | 9 | ||
10 | #include "bluetoothbase.h" | 10 | #include "bluetoothbase.h" |
11 | 11 | ||
12 | class QVBox; | 12 | class QVBox; |
13 | class QHBoxLayout; | 13 | class QHBoxLayout; |
14 | class QGridLayout; | 14 | class QGridLayout; |
15 | class QFrame; | 15 | class QFrame; |
16 | class QLabel; | 16 | class QLabel; |
17 | class QPushButton; | 17 | class QPushButton; |
18 | class QTabWidget; | 18 | class QTabWidget; |
19 | class QCheckBox; | 19 | class QCheckBox; |
20 | 20 | ||
21 | class BlueBase : public BluetoothBase { | 21 | namespace OpieTooth { |
22 | Q_OBJECT | ||
23 | 22 | ||
24 | public: | 23 | class BlueBase : public BluetoothBase { |
25 | BlueBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 24 | Q_OBJECT |
26 | ~BlueBase(); | ||
27 | 25 | ||
28 | protected: | 26 | public: |
27 | BlueBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
28 | ~BlueBase(); | ||
29 | 29 | ||
30 | protected: | ||
30 | 31 | ||
31 | private slots: | ||
32 | void startScan(); | ||
33 | 32 | ||
34 | private: | 33 | private slots: |
34 | void startScan(); | ||
35 | |||
36 | private: | ||
35 | void readConfig(); | 37 | void readConfig(); |
36 | void writeConfig(); | 38 | void writeConfig(); |
37 | QString getStatus(); | 39 | QString getStatus(); |
38 | void initGui(); | 40 | void initGui(); |
39 | 41 | ||
40 | 42 | ||
41 | QString deviceName; | 43 | QString deviceName; |
42 | QString defaultPasskey; | 44 | QString defaultPasskey; |
43 | int useEncryption; | 45 | int useEncryption; |
44 | int enableAuthentification; | 46 | int enableAuthentification; |
45 | int enablePagescan; | 47 | int enablePagescan; |
46 | int enableInquiryscan; | 48 | int enableInquiryscan; |
47 | 49 | ||
48 | private slots: | 50 | private slots: |
49 | |||
50 | void applyConfigChanges(); | ||
51 | 51 | ||
52 | }; | 52 | void applyConfigChanges(); |
53 | 53 | ||
54 | }; | ||
54 | 55 | ||
56 | } | ||
55 | 57 | ||
56 | #endif | 58 | #endif |