summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/Opietooth.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/Opietooth.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/Opietooth.h31
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>
7namespace Opie { namespace Ui { class OLedBox; }; }; 6namespace Opie { namespace Ui { class OLedBox; }; };
8 7
8#include <OTSniffGUI.h>
9namespace Opietooth2 { 9namespace Opietooth2 {
10 10
11class OTGateway; 11class OTGateway;
12class OTDriver; 12class OTDriver;
13class OTInquiry; 13class OTInquiry;
14class OTPeer; 14class OTPeer;
15class PeerLVI; 15class PeerLVI;
16 16
17class OTSniffing : public OTSniffGUI {
18
19 Q_OBJECT
20
21public :
22
23 OTSniffing( QWidget * parent );
24 ~OTSniffing();
25
26private slots :
27
28 void SLOT_Trace( void );
29 void SLOT_ClearLog( void );
30
31signals :
32
33protected :
34
35private :
36
37 OTGateway * OT;
38};
39};
40
41#include <OTPairingGUI.h>
42
43namespace Opietooth2 {
17class OTPairing : public OTPairingGUI { 44class OTPairing : public OTPairingGUI {
18 45
19 Q_OBJECT 46 Q_OBJECT
20 47
21public : 48public :
22 49
23 OTPairing( QWidget * parent, 50 OTPairing( QWidget * parent,
24 OTIcons * _Ic = 0 ); 51 OTIcons * _Ic = 0 );
25 ~OTPairing(); 52 ~OTPairing();
26 53
27private slots : 54private slots :
28 55
@@ -165,30 +192,32 @@ class OTMain : public OTMainGUI {
165 192
166public : 193public :
167 194
168 OTMain( QWidget * parent ); 195 OTMain( QWidget * parent );
169 ~OTMain(); 196 ~OTMain();
170 197
171public slots : 198public slots :
172 199
173private slots : 200private 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
183signals : 211signals :
184 212
185protected : 213protected :
186 214
187private : 215private :
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