Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/Opietooth.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/opietooth2/Opietooth.h | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/Opietooth.h b/noncore/settings/networksettings2/opietooth2/Opietooth.h index 16a22d6..211ae65 100644 --- a/noncore/settings/networksettings2/opietooth2/Opietooth.h +++ b/noncore/settings/networksettings2/opietooth2/Opietooth.h | |||
@@ -1,28 +1,55 @@ | |||
1 | #ifndef OPIETOOTH_H | 1 | #ifndef OPIETOOTH_H |
2 | #define OPIETOOTH_H | 2 | #define OPIETOOTH_H |
3 | 3 | ||
4 | #include <OTIcons.h> | 4 | #include <OTIcons.h> |
5 | 5 | ||
6 | #include <OTPairingGUI.h> | ||
7 | namespace Opie { namespace Ui { class OLedBox; }; }; | 6 | namespace Opie { namespace Ui { class OLedBox; }; }; |
8 | 7 | ||
8 | #include <OTSniffGUI.h> | ||
9 | namespace Opietooth2 { | 9 | namespace Opietooth2 { |
10 | 10 | ||
11 | class OTGateway; | 11 | class OTGateway; |
12 | class OTDriver; | 12 | class OTDriver; |
13 | class OTInquiry; | 13 | class OTInquiry; |
14 | class OTPeer; | 14 | class OTPeer; |
15 | class PeerLVI; | 15 | class PeerLVI; |
16 | 16 | ||
17 | class OTSniffing : public OTSniffGUI { | ||
18 | |||
19 | Q_OBJECT | ||
20 | |||
21 | public : | ||
22 | |||
23 | OTSniffing( QWidget * parent ); | ||
24 | ~OTSniffing(); | ||
25 | |||
26 | private slots : | ||
27 | |||
28 | void SLOT_Trace( void ); | ||
29 | void SLOT_ClearLog( void ); | ||
30 | |||
31 | signals : | ||
32 | |||
33 | protected : | ||
34 | |||
35 | private : | ||
36 | |||
37 | OTGateway * OT; | ||
38 | }; | ||
39 | }; | ||
40 | |||
41 | #include <OTPairingGUI.h> | ||
42 | |||
43 | namespace Opietooth2 { | ||
17 | class OTPairing : public OTPairingGUI { | 44 | class OTPairing : public OTPairingGUI { |
18 | 45 | ||
19 | Q_OBJECT | 46 | Q_OBJECT |
20 | 47 | ||
21 | public : | 48 | public : |
22 | 49 | ||
23 | OTPairing( QWidget * parent, | 50 | OTPairing( QWidget * parent, |
24 | OTIcons * _Ic = 0 ); | 51 | OTIcons * _Ic = 0 ); |
25 | ~OTPairing(); | 52 | ~OTPairing(); |
26 | 53 | ||
27 | private slots : | 54 | private slots : |
28 | 55 | ||
@@ -165,30 +192,32 @@ class OTMain : public OTMainGUI { | |||
165 | 192 | ||
166 | public : | 193 | public : |
167 | 194 | ||
168 | OTMain( QWidget * parent ); | 195 | OTMain( QWidget * parent ); |
169 | ~OTMain(); | 196 | ~OTMain(); |
170 | 197 | ||
171 | public slots : | 198 | public slots : |
172 | 199 | ||
173 | private slots : | 200 | private slots : |
174 | 201 | ||
175 | void SLOT_Pairing( void ); | 202 | void SLOT_Pairing( void ); |
176 | void SLOT_Manage( void ); | 203 | void SLOT_Manage( void ); |
204 | void SLOT_Sniffing( void ); | ||
177 | void SLOT_Scan( void ); | 205 | void SLOT_Scan( void ); |
178 | void SLOT_EnableBluetooth( bool ); | 206 | void SLOT_EnableBluetooth( bool ); |
179 | void SLOT_DriverListChanged(); | 207 | void SLOT_DriverListChanged(); |
180 | void SLOT_DeviceIsEnabled( bool ); | 208 | void SLOT_DeviceIsEnabled( bool ); |
181 | void SLOT_StateChange( OTDriver * , bool ); | 209 | void SLOT_StateChange( OTDriver * , bool ); |
182 | 210 | ||
183 | signals : | 211 | signals : |
184 | 212 | ||
185 | protected : | 213 | protected : |
186 | 214 | ||
187 | private : | 215 | private : |
188 | 216 | ||
189 | // load scanned devices | 217 | // load scanned devices |
190 | OTIcons * Icons; | 218 | OTIcons * Icons; |
191 | OTGateway * OT; | 219 | OTGateway * OT; |
220 | OTSniffing * SnifWindow; | ||
192 | }; | 221 | }; |
193 | }; | 222 | }; |
194 | #endif | 223 | #endif |