From 8dde6abcd14717bd362248c365fe140efe0f0386 Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 16 Jun 2002 19:26:43 +0000 Subject: update --- (limited to 'noncore/net/opietooth/manager/bluebase.cpp') 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 @@ -41,6 +41,7 @@ namespace OpieTooth { + class RemoteDevices; BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) : BluetoothBase( parent, name, fl ) { @@ -49,6 +50,9 @@ namespace OpieTooth { 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); @@ -149,11 +153,21 @@ namespace OpieTooth { } + void BlueBase::addSearchedDevices( QList &newDevices ) { + + + + } + + /** * Open the "scan for devices" dialog */ void BlueBase::startScan() { ScanDialog *scan = new ScanDialog( this, "", true); + QObject::connect((QObject*)scan, SIGNAL( selectedDevices(QList&) ), + this, SLOT( addSearchedDevices(QList& ) )); + scan->showMaximized(); } -- cgit v0.9.0.2