summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index f4153a0..c17271f 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -17,6 +17,7 @@
***************************************************************************/
#include "bluebase.h"
+#include "scandialog.h"
#include <qframe.h>
#include <qlabel.h>
@@ -38,6 +39,8 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
: BluetoothBase( parent, name, fl ) {
+ QObject::connect( (QObject*) PushButton2, SIGNAL( clicked() ), this, SLOT(startScan()));
+
QPalette pal = this->palette();
QColor col = pal.color(QPalette::Active, QColorGroup::Background);
pal.setColor(QPalette::Active, QColorGroup::Button, col);
@@ -48,6 +51,11 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
}
+void BlueBase::startScan() {
+ Form3 *scan = new Form3( this, "", true);
+ scan->exec();
+}
+
BlueBase::~BlueBase(){
}