Diffstat (limited to 'noncore/net/opietooth/manager') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.cpp | 3 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h index ae5ce67..5364e51 100644 --- a/noncore/net/opietooth/manager/bluebase.h +++ b/noncore/net/opietooth/manager/bluebase.h | |||
@@ -10,6 +10,8 @@ | |||
10 | 10 | ||
11 | #include "bluetoothbase.h" | 11 | #include "bluetoothbase.h" |
12 | 12 | ||
13 | #include <remotedevice.h> | ||
14 | |||
13 | class QVBox; | 15 | class QVBox; |
14 | class QHBoxLayout; | 16 | class QHBoxLayout; |
15 | class QGridLayout; | 17 | class QGridLayout; |
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index 70ea77a..8a7ea01 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp | |||
@@ -134,7 +134,6 @@ namespace OpieTooth { | |||
134 | deviceItem = new QCheckListItem( ListView1, (*it).name() ); | 134 | deviceItem = new QCheckListItem( ListView1, (*it).name() ); |
135 | deviceItem->setText(1, (*it).mac() ); | 135 | deviceItem->setText(1, (*it).mac() ); |
136 | } | 136 | } |
137 | |||
138 | } | 137 | } |
139 | 138 | ||
140 | /* | 139 | /* |
@@ -151,7 +150,7 @@ namespace OpieTooth { | |||
151 | 150 | ||
152 | QListViewItemIterator it( ListView1 ); | 151 | QListViewItemIterator it( ListView1 ); |
153 | for ( ; it.current(); ++it ) { | 152 | for ( ; it.current(); ++it ) { |
154 | if ( it.current()->isSelected() ) { | 153 | if ( ((QCheckListItem*)it.current())->isOn() ) { |
155 | RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0)); | 154 | RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0)); |
156 | deviceList->append( device ); | 155 | deviceList->append( device ); |
157 | } | 156 | } |
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index 4785a62..0ca302a 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <qdialog.h> | 21 | #include <qdialog.h> |
22 | #include <qlist.h> | 22 | #include <qlist.h> |
23 | 23 | ||
24 | 24 | #include <remotedevice.h> | |
25 | class QVBoxLayout; | 25 | class QVBoxLayout; |
26 | class QHBoxLayout; | 26 | class QHBoxLayout; |
27 | class QGridLayout; | 27 | class QGridLayout; |
@@ -35,7 +35,7 @@ class QProgressBar; | |||
35 | 35 | ||
36 | namespace OpieTooth { | 36 | namespace OpieTooth { |
37 | 37 | ||
38 | #include <remotedevices.h> | 38 | |
39 | class Manager; | 39 | class Manager; |
40 | class Device; | 40 | class Device; |
41 | 41 | ||