-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 8 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 5 |
2 files changed, 13 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 @@ -19,2 +19,3 @@ #include "bluebase.h" +#include "scandialog.h" @@ -40,2 +41,4 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) + QObject::connect( (QObject*) PushButton2, SIGNAL( clicked() ), this, SLOT(startScan())); + QPalette pal = this->palette(); @@ -50,2 +53,7 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) +void BlueBase::startScan() { + Form3 *scan = new Form3( this, "", true); + scan->exec(); +} + BlueBase::~BlueBase(){ diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h index 4d53e99..29c45be 100644 --- a/noncore/net/opietooth/manager/bluebase.h +++ b/noncore/net/opietooth/manager/bluebase.h @@ -29,2 +29,7 @@ protected: + + private slots: + void startScan(); + + }; |