-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 @@ -18,4 +18,5 @@ #include "bluebase.h" +#include "scandialog.h" #include <qframe.h> @@ -39,4 +40,6 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) + QObject::connect( (QObject*) PushButton2, SIGNAL( clicked() ), this, SLOT(startScan())); + QPalette pal = this->palette(); QColor col = pal.color(QPalette::Active, QColorGroup::Background); @@ -49,4 +52,9 @@ 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 @@ -28,4 +28,9 @@ public: protected: + + private slots: + void startScan(); + + }; |