Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 8 |
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 @@ | |||
17 | ***************************************************************************/ | 17 | ***************************************************************************/ |
18 | 18 | ||
19 | #include "bluebase.h" | 19 | #include "bluebase.h" |
20 | #include "scandialog.h" | ||
20 | 21 | ||
21 | #include <qframe.h> | 22 | #include <qframe.h> |
22 | #include <qlabel.h> | 23 | #include <qlabel.h> |
@@ -38,6 +39,8 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
38 | : BluetoothBase( parent, name, fl ) { | 39 | : BluetoothBase( parent, name, fl ) { |
39 | 40 | ||
40 | 41 | ||
42 | QObject::connect( (QObject*) PushButton2, SIGNAL( clicked() ), this, SLOT(startScan())); | ||
43 | |||
41 | QPalette pal = this->palette(); | 44 | QPalette pal = this->palette(); |
42 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); | 45 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); |
43 | pal.setColor(QPalette::Active, QColorGroup::Button, col); | 46 | pal.setColor(QPalette::Active, QColorGroup::Button, col); |
@@ -48,6 +51,11 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
48 | } | 51 | } |
49 | 52 | ||
50 | 53 | ||
54 | void BlueBase::startScan() { | ||
55 | Form3 *scan = new Form3( this, "", true); | ||
56 | scan->exec(); | ||
57 | } | ||
58 | |||
51 | BlueBase::~BlueBase(){ | 59 | BlueBase::~BlueBase(){ |
52 | } | 60 | } |
53 | 61 | ||