summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.cpp
authorharlekin <harlekin>2002-06-16 19:26:43 (UTC)
committer harlekin <harlekin>2002-06-16 19:26:43 (UTC)
commit8dde6abcd14717bd362248c365fe140efe0f0386 (patch) (side-by-side diff)
treef9e97c987e5197d4cbb3d0a0d5afe99fe12b1eba /noncore/net/opietooth/manager/bluebase.cpp
parent1eca76c99326afc111efeb2bf55a306a4f37eb1e (diff)
downloadopie-8dde6abcd14717bd362248c365fe140efe0f0386.zip
opie-8dde6abcd14717bd362248c365fe140efe0f0386.tar.gz
opie-8dde6abcd14717bd362248c365fe140efe0f0386.tar.bz2
update
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index e3b9e53..71da82e 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -38,20 +38,24 @@
#include <qpe/resource.h>
#include <qpe/config.h>
namespace OpieTooth {
+ class RemoteDevices;
BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
: BluetoothBase( parent, name, fl ) {
QObject::connect( (QObject*) PushButton2, SIGNAL( clicked() ), this, SLOT(startScan()));
QObject::connect((QObject*)configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges()));
+
+
+
QPalette pal = this->palette();
QColor col = pal.color(QPalette::Active, QColorGroup::Background);
pal.setColor(QPalette::Active, QColorGroup::Button, col);
pal.setColor(QPalette::Inactive, QColorGroup::Button, col);
pal.setColor(QPalette::Normal, QColorGroup::Button, col);
pal.setColor(QPalette::Disabled, QColorGroup::Button, col);
@@ -146,17 +150,27 @@ namespace OpieTooth {
box->show();
// falls nötig hcid killhupen - die funktionalität adden
}
+ void BlueBase::addSearchedDevices( QList<RemoteDevices> &newDevices ) {
+
+
+
+ }
+
+
/**
* Open the "scan for devices" dialog
*/
void BlueBase::startScan() {
ScanDialog *scan = new ScanDialog( this, "", true);
+ QObject::connect((QObject*)scan, SIGNAL( selectedDevices(QList<RemoteDevices>&) ),
+ this, SLOT( addSearchedDevices(QList<RemoteDevices>& ) ));
+
scan->showMaximized();
}
/**
* Decontructor
*/