Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/Opietooth.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/opietooth2/Opietooth.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/Opietooth.h b/noncore/settings/networksettings2/opietooth2/Opietooth.h index 211ae65..2b20975 100644 --- a/noncore/settings/networksettings2/opietooth2/Opietooth.h +++ b/noncore/settings/networksettings2/opietooth2/Opietooth.h | |||
@@ -1,49 +1,66 @@ | |||
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 | namespace Opie { namespace Ui { class OLedBox; }; }; | 6 | class MyProcess; |
7 | class System; | ||
8 | |||
9 | namespace Opie { | ||
10 | |||
11 | namespace Ui { | ||
12 | |||
13 | class OLedBox; | ||
14 | |||
15 | }; | ||
16 | |||
17 | }; | ||
7 | 18 | ||
8 | #include <OTSniffGUI.h> | 19 | #include <OTSniffGUI.h> |
9 | namespace Opietooth2 { | 20 | namespace Opietooth2 { |
10 | 21 | ||
11 | class OTGateway; | 22 | class OTGateway; |
12 | class OTDriver; | 23 | class OTDriver; |
13 | class OTInquiry; | 24 | class OTInquiry; |
14 | class OTPeer; | 25 | class OTPeer; |
15 | class PeerLVI; | 26 | class PeerLVI; |
16 | 27 | ||
17 | class OTSniffing : public OTSniffGUI { | 28 | class OTSniffing : public OTSniffGUI { |
18 | 29 | ||
19 | Q_OBJECT | 30 | Q_OBJECT |
20 | 31 | ||
21 | public : | 32 | public : |
22 | 33 | ||
23 | OTSniffing( QWidget * parent ); | 34 | OTSniffing( QWidget * parent ); |
24 | ~OTSniffing(); | 35 | ~OTSniffing(); |
25 | 36 | ||
26 | private slots : | 37 | private slots : |
27 | 38 | ||
28 | void SLOT_Trace( void ); | 39 | void SLOT_Trace( bool ); |
29 | void SLOT_ClearLog( void ); | 40 | void SLOT_ClearLog( void ); |
41 | void SLOT_Load( void ); | ||
42 | void SLOT_Save( void ); | ||
43 | void SLOT_ProcessExited( MyProcess * ); | ||
44 | void SLOT_Show( const QString & ); | ||
30 | 45 | ||
31 | signals : | 46 | signals : |
32 | 47 | ||
33 | protected : | 48 | protected : |
34 | 49 | ||
35 | private : | 50 | private : |
36 | 51 | ||
37 | OTGateway * OT; | 52 | OTGateway * OT; |
53 | MyProcess * HciDump; | ||
54 | System * Sys; | ||
38 | }; | 55 | }; |
39 | }; | 56 | }; |
40 | 57 | ||
41 | #include <OTPairingGUI.h> | 58 | #include <OTPairingGUI.h> |
42 | 59 | ||
43 | namespace Opietooth2 { | 60 | namespace Opietooth2 { |
44 | class OTPairing : public OTPairingGUI { | 61 | class OTPairing : public OTPairingGUI { |
45 | 62 | ||
46 | Q_OBJECT | 63 | Q_OBJECT |
47 | 64 | ||
48 | public : | 65 | public : |
49 | 66 | ||
@@ -208,16 +225,16 @@ private slots : | |||
208 | void SLOT_DeviceIsEnabled( bool ); | 225 | void SLOT_DeviceIsEnabled( bool ); |
209 | void SLOT_StateChange( OTDriver * , bool ); | 226 | void SLOT_StateChange( OTDriver * , bool ); |
210 | 227 | ||
211 | signals : | 228 | signals : |
212 | 229 | ||
213 | protected : | 230 | protected : |
214 | 231 | ||
215 | private : | 232 | private : |
216 | 233 | ||
217 | // load scanned devices | 234 | // load scanned devices |
218 | OTIcons * Icons; | 235 | OTIcons * Icons; |
219 | OTGateway * OT; | 236 | OTGateway * OT; |
220 | OTSniffing * SnifWindow; | 237 | QDialog * SnifWindow; |
221 | }; | 238 | }; |
222 | }; | 239 | }; |
223 | #endif | 240 | #endif |