summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/Opietooth.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/Opietooth.h b/noncore/settings/networksettings2/opietooth2/Opietooth.h
index f077dd7..1f164a5 100644
--- a/noncore/settings/networksettings2/opietooth2/Opietooth.h
+++ b/noncore/settings/networksettings2/opietooth2/Opietooth.h
@@ -1,109 +1,109 @@
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
6class MyProcess; 6class MyProcess;
7 7
8namespace Opie { 8namespace Opie {
9 9
10 namespace Ui { 10 namespace Ui {
11 11
12 class OLedBox; 12 class OLedBox;
13 13
14 } 14 }
15 15
16} 16}
17 17
18#include <OTSniffGUI.h> 18#include "OTSniffGUI.h"
19namespace Opietooth2 { 19namespace Opietooth2 {
20 20
21class OTGateway; 21class OTGateway;
22class OTDriver; 22class OTDriver;
23class OTInquiry; 23class OTInquiry;
24class OTPeer; 24class OTPeer;
25class PeerLVI; 25class PeerLVI;
26 26
27class OTSniffing : public OTSniffGUI { 27class OTSniffing : public OTSniffGUI {
28 28
29 Q_OBJECT 29 Q_OBJECT
30 30
31public : 31public :
32 32
33 OTSniffing( QWidget * parent ); 33 OTSniffing( QWidget * parent );
34 ~OTSniffing(); 34 ~OTSniffing();
35 35
36private slots : 36private slots :
37 37
38 void SLOT_Trace( bool ); 38 void SLOT_Trace( bool );
39 void SLOT_ClearLog( void ); 39 void SLOT_ClearLog( void );
40 void SLOT_Load( void ); 40 void SLOT_Load( void );
41 void SLOT_Save( void ); 41 void SLOT_Save( void );
42 void SLOT_ProcessExited( MyProcess * ); 42 void SLOT_ProcessExited( MyProcess * );
43 void SLOT_Show( const QString & ); 43 void SLOT_Show( const QString & );
44 44
45signals : 45signals :
46 46
47protected : 47protected :
48 48
49private : 49private :
50 50
51 OTGateway * OT; 51 OTGateway * OT;
52 MyProcess * HciDump; 52 MyProcess * HciDump;
53}; 53};
54} 54}
55 55
56#include <OTPairingGUI.h> 56#include "OTPairingGUI.h"
57 57
58namespace Opietooth2 { 58namespace Opietooth2 {
59class OTPairing : public OTPairingGUI { 59class OTPairing : public OTPairingGUI {
60 60
61 Q_OBJECT 61 Q_OBJECT
62 62
63public : 63public :
64 64
65 OTPairing( QWidget * parent, 65 OTPairing( QWidget * parent,
66 OTIcons * _Ic = 0 ); 66 OTIcons * _Ic = 0 );
67 ~OTPairing(); 67 ~OTPairing();
68 68
69private slots : 69private slots :
70 70
71 void SLOT_Unpair( void ); 71 void SLOT_Unpair( void );
72 72
73signals : 73signals :
74 74
75protected : 75protected :
76 76
77private : 77private :
78 78
79 bool MyIcons; 79 bool MyIcons;
80 OTIcons * Icons; 80 OTIcons * Icons;
81 OTGateway * OT; 81 OTGateway * OT;
82}; 82};
83} 83}
84 84
85#include <OTScanGUI.h> 85#include "OTScanGUI.h"
86 86
87namespace Opietooth2 { 87namespace Opietooth2 {
88 88
89class OTGateway; 89class OTGateway;
90class OTDriver; 90class OTDriver;
91class OTInquiry; 91class OTInquiry;
92class OTPeer; 92class OTPeer;
93 93
94class OTScan : public OTScanGUI { 94class OTScan : public OTScanGUI {
95 95
96 Q_OBJECT 96 Q_OBJECT
97 97
98public : 98public :
99 99
100 OTScan( QWidget * parent, 100 OTScan( QWidget * parent,
101 OTIcons * _Ic = 0 ); 101 OTIcons * _Ic = 0 );
102 ~OTScan(); 102 ~OTScan();
103 103
104 // static function to return a device and a channel 104 // static function to return a device and a channel
105 static int getDevice( OTPeer *& Peer, 105 static int getDevice( OTPeer *& Peer,
106 int & Channel, 106 int & Channel,
107 OTGateway * OT, 107 OTGateway * OT,
108 const UUIDVector & Filter = 0, 108 const UUIDVector & Filter = 0,
109 QWidget* Parent = 0); 109 QWidget* Parent = 0);
@@ -139,87 +139,87 @@ signals :
139protected : 139protected :
140 140
141private : 141private :
142 142
143 void refreshState( PeerLVI *, bool ); 143 void refreshState( PeerLVI *, bool );
144 void scanMode( bool ); 144 void scanMode( bool );
145 145
146 // load scanned devices 146 // load scanned devices
147 147
148 bool MyIcons; 148 bool MyIcons;
149 OTIcons * Icons; 149 OTIcons * Icons;
150 OTGateway * OT; 150 OTGateway * OT;
151 OTInquiry * Scanning; 151 OTInquiry * Scanning;
152 UUIDVector Filter; 152 UUIDVector Filter;
153 153
154 Opie::Ui::OLedBox * Paired_Led; 154 Opie::Ui::OLedBox * Paired_Led;
155 QTimer * StrengthTimer; 155 QTimer * StrengthTimer;
156 PeerLVI * Current; 156 PeerLVI * Current;
157 157
158 OTPeer * SelectedPeer; 158 OTPeer * SelectedPeer;
159 int SelectedChannel; 159 int SelectedChannel;
160}; 160};
161} 161}
162 162
163#include <OTManageGUI.h> 163#include "OTManageGUI.h"
164namespace Opietooth2 { 164namespace Opietooth2 {
165 165
166class OTManage : public OTManageGUI { 166class OTManage : public OTManageGUI {
167 167
168 Q_OBJECT 168 Q_OBJECT
169 169
170public : 170public :
171 171
172 OTManage( QWidget * parent, 172 OTManage( QWidget * parent,
173 OTIcons * _IC = 0 ); 173 OTIcons * _IC = 0 );
174 ~OTManage(); 174 ~OTManage();
175 175
176public slots : 176public slots :
177 177
178private slots : 178private slots :
179 179
180 void SLOT_ShowDriver( QListViewItem * ); 180 void SLOT_ShowDriver( QListViewItem * );
181 void SLOT_UpDriver( bool ); 181 void SLOT_UpDriver( bool );
182 void SLOT_StateChange( OTDriver * , bool ); 182 void SLOT_StateChange( OTDriver * , bool );
183 void SLOT_DriverListChanged(); 183 void SLOT_DriverListChanged();
184 void SLOT_SetRefreshTimer( int ); 184 void SLOT_SetRefreshTimer( int );
185 185
186signals : 186signals :
187 187
188protected : 188protected :
189 189
190private : 190private :
191 191
192 // load scanned devices 192 // load scanned devices
193 193
194 bool MyIcons; 194 bool MyIcons;
195 OTIcons * Icons; 195 OTIcons * Icons;
196 OTGateway * OT; 196 OTGateway * OT;
197 OTInquiry * Scanning; 197 OTInquiry * Scanning;
198}; 198};
199} 199}
200 200
201#include <OTMainGUI.h> 201#include "OTMainGUI.h"
202 202
203namespace Opietooth2 { 203namespace Opietooth2 {
204class OTMain : public OTMainGUI { 204class OTMain : public OTMainGUI {
205 205
206 Q_OBJECT 206 Q_OBJECT
207 207
208public : 208public :
209 209
210 OTMain( QWidget * parent ); 210 OTMain( QWidget * parent );
211 ~OTMain(); 211 ~OTMain();
212 212
213public slots : 213public slots :
214 214
215private slots : 215private slots :
216 216
217 void SLOT_Pairing( void ); 217 void SLOT_Pairing( void );
218 void SLOT_Manage( void ); 218 void SLOT_Manage( void );
219 void SLOT_Sniffing( void ); 219 void SLOT_Sniffing( void );
220 void SLOT_Scan( void ); 220 void SLOT_Scan( void );
221 void SLOT_EnableBluetooth( bool ); 221 void SLOT_EnableBluetooth( bool );
222 void SLOT_DriverListChanged(); 222 void SLOT_DriverListChanged();
223 void SLOT_DeviceIsEnabled( bool ); 223 void SLOT_DeviceIsEnabled( bool );
224 void SLOT_StateChange( OTDriver * , bool ); 224 void SLOT_StateChange( OTDriver * , bool );
225 225