summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager
authorharlekin <harlekin>2002-06-16 20:21:06 (UTC)
committer harlekin <harlekin>2002-06-16 20:21:06 (UTC)
commit5c098847f0fd716c4fe697e5eb314111a4ae5df1 (patch) (side-by-side diff)
tree590ed709442bf6ba4a28eb242840dcf1de6da756 /noncore/net/opietooth/manager
parent8dde6abcd14717bd362248c365fe140efe0f0386 (diff)
downloadopie-5c098847f0fd716c4fe697e5eb314111a4ae5df1.zip
opie-5c098847f0fd716c4fe697e5eb314111a4ae5df1.tar.gz
opie-5c098847f0fd716c4fe697e5eb314111a4ae5df1.tar.bz2
remoteDevice not removeDevices
Diffstat (limited to 'noncore/net/opietooth/manager') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.h2
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp3
-rw-r--r--noncore/net/opietooth/manager/scandialog.h4
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 @@
#include "bluetoothbase.h"
+#include <remotedevice.h>
+
class QVBox;
class QHBoxLayout;
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 {
deviceItem = new QCheckListItem( ListView1, (*it).name() );
deviceItem->setText(1, (*it).mac() );
}
-
}
/*
@@ -151,7 +150,7 @@ namespace OpieTooth {
QListViewItemIterator it( ListView1 );
for ( ; it.current(); ++it ) {
- if ( it.current()->isSelected() ) {
+ if ( ((QCheckListItem*)it.current())->isOn() ) {
RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0));
deviceList->append( device );
}
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 @@
#include <qdialog.h>
#include <qlist.h>
-
+#include <remotedevice.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
@@ -35,7 +35,7 @@ class QProgressBar;
namespace OpieTooth {
-#include <remotedevices.h>
+
class Manager;
class Device;