Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/Opietooth.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/opietooth2/Opietooth.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/Opietooth.cpp b/noncore/settings/networksettings2/opietooth2/Opietooth.cpp index 8d71f32..8ea3a48 100644 --- a/noncore/settings/networksettings2/opietooth2/Opietooth.cpp +++ b/noncore/settings/networksettings2/opietooth2/Opietooth.cpp | |||
@@ -1,98 +1,100 @@ | |||
1 | #include <opie2/odebug.h> | 1 | #include <opie2/odebug.h> |
2 | #include <opie2/oledbox.h> | 2 | #include <opie2/oledbox.h> |
3 | using namespace Opie::Core; | ||
4 | using namespace Opie::Ui; | ||
3 | 5 | ||
4 | #include <qpe/resource.h> | 6 | #include <qpe/resource.h> |
5 | #include <qcheckbox.h> | 7 | #include <qcheckbox.h> |
6 | #include <qgroupbox.h> | 8 | #include <qgroupbox.h> |
7 | #include <qlabel.h> | 9 | #include <qlabel.h> |
8 | #include <qprogressbar.h> | 10 | #include <qprogressbar.h> |
9 | #include <qheader.h> | 11 | #include <qheader.h> |
10 | #include <qmessagebox.h> | 12 | #include <qmessagebox.h> |
11 | #include <qapplication.h> | 13 | #include <qapplication.h> |
12 | #include <qlistbox.h> | 14 | #include <qlistbox.h> |
13 | #include <qdialog.h> | 15 | #include <qdialog.h> |
14 | #include <qlayout.h> | 16 | #include <qlayout.h> |
15 | #include <qcombobox.h> | 17 | #include <qcombobox.h> |
16 | #include <qlabel.h> | 18 | #include <qlabel.h> |
17 | #include <qlistview.h> | 19 | #include <qlistview.h> |
18 | #include <qpushbutton.h> | 20 | #include <qpushbutton.h> |
19 | 21 | ||
20 | #include <Opietooth.h> | 22 | #include <Opietooth.h> |
21 | #include <OTDriver.h> | 23 | #include <OTDriver.h> |
22 | #include <OTPeer.h> | 24 | #include <OTPeer.h> |
23 | #include <OTGateway.h> | 25 | #include <OTGateway.h> |
24 | #include <OTSDPAttribute.h> | 26 | #include <OTSDPAttribute.h> |
25 | #include <OTSDPService.h> | 27 | #include <OTSDPService.h> |
26 | #include <OTInquiry.h> | 28 | #include <OTInquiry.h> |
27 | 29 | ||
28 | using namespace Opietooth2; | 30 | using namespace Opietooth2; |
29 | 31 | ||
30 | namespace Opietooth2 { | 32 | namespace Opietooth2 { |
31 | 33 | ||
32 | class PeerLVI : public QListViewItem { | 34 | class PeerLVI : public QListViewItem { |
33 | 35 | ||
34 | public : | 36 | public : |
35 | 37 | ||
36 | PeerLVI( OTPeer * P, QListView * it ) : QListViewItem (it) { | 38 | PeerLVI( OTPeer * P, QListView * it ) : QListViewItem (it) { |
37 | Peer = P; | 39 | Peer = P; |
38 | } | 40 | } |
39 | ~PeerLVI( void ) { | 41 | ~PeerLVI( void ) { |
40 | } | 42 | } |
41 | 43 | ||
42 | inline OTPeer * peer( void ) | 44 | inline OTPeer * peer( void ) |
43 | { return Peer; } | 45 | { return Peer; } |
44 | 46 | ||
45 | private : | 47 | private : |
46 | 48 | ||
47 | OTPeer * Peer; | 49 | OTPeer * Peer; |
48 | }; | 50 | }; |
49 | 51 | ||
50 | class ChannelLVI : public QListViewItem { | 52 | class ChannelLVI : public QListViewItem { |
51 | 53 | ||
52 | public : | 54 | public : |
53 | 55 | ||
54 | ChannelLVI( int Ch, QListViewItem * it ) : QListViewItem (it) { | 56 | ChannelLVI( int Ch, QListViewItem * it ) : QListViewItem (it) { |
55 | Channel = Ch; | 57 | Channel = Ch; |
56 | } | 58 | } |
57 | ~ChannelLVI( void ) { | 59 | ~ChannelLVI( void ) { |
58 | } | 60 | } |
59 | 61 | ||
60 | inline int channel( void ) | 62 | inline int channel( void ) |
61 | { return Channel; } | 63 | { return Channel; } |
62 | 64 | ||
63 | private : | 65 | private : |
64 | 66 | ||
65 | int Channel; | 67 | int Channel; |
66 | }; | 68 | }; |
67 | 69 | ||
68 | class DriverLVI : public QListViewItem { | 70 | class DriverLVI : public QListViewItem { |
69 | 71 | ||
70 | public : | 72 | public : |
71 | 73 | ||
72 | DriverLVI( OTDriver * P, QListView * it ) : QListViewItem (it) { | 74 | DriverLVI( OTDriver * P, QListView * it ) : QListViewItem (it) { |
73 | Driver = P; | 75 | Driver = P; |
74 | } | 76 | } |
75 | ~DriverLVI( void ) { | 77 | ~DriverLVI( void ) { |
76 | } | 78 | } |
77 | 79 | ||
78 | inline OTDriver * driver( void ) | 80 | inline OTDriver * driver( void ) |
79 | { return Driver; } | 81 | { return Driver; } |
80 | 82 | ||
81 | private : | 83 | private : |
82 | 84 | ||
83 | OTDriver * Driver; | 85 | OTDriver * Driver; |
84 | }; | 86 | }; |
85 | 87 | ||
86 | class LinkKeyLVI : public QListViewItem { | 88 | class LinkKeyLVI : public QListViewItem { |
87 | 89 | ||
88 | public : | 90 | public : |
89 | 91 | ||
90 | LinkKeyLVI( int Ch, QListView * it ) : QListViewItem (it) { | 92 | LinkKeyLVI( int Ch, QListView * it ) : QListViewItem (it) { |
91 | LinkKey = Ch; | 93 | LinkKey = Ch; |
92 | } | 94 | } |
93 | ~LinkKeyLVI( void ) { | 95 | ~LinkKeyLVI( void ) { |
94 | } | 96 | } |
95 | 97 | ||
96 | inline int index( void ) | 98 | inline int index( void ) |
97 | { return LinkKey; } | 99 | { return LinkKey; } |
98 | 100 | ||