summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-02 22:05:55 (UTC)
committer harlekin <harlekin>2002-06-02 22:05:55 (UTC)
commitd068b0a50826a189d11e2f2037ee21a4c0850567 (patch) (side-by-side diff)
treed07771652ae649d0452d58211fa588589fb76360
parent6898878a1ef6d5551d7dde9363f238e57b5c9671 (diff)
downloadopie-d068b0a50826a189d11e2f2037ee21a4c0850567.zip
opie-d068b0a50826a189d11e2f2037ee21a4c0850567.tar.gz
opie-d068b0a50826a189d11e2f2037ee21a4c0850567.tar.bz2
update
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp8
-rw-r--r--noncore/net/opietooth/manager/bluebase.h5
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
@@ -16,8 +16,9 @@
* *
***************************************************************************/
#include "bluebase.h"
+#include "scandialog.h"
#include <qframe.h>
#include <qlabel.h>
#include <qpushbutton.h>
@@ -37,8 +38,10 @@
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);
pal.setColor(QPalette::Inactive, QColorGroup::Button, col);
@@ -47,8 +50,13 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
this->setPalette(pal);
}
+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
@@ -26,8 +26,13 @@ public:
~BlueBase();
protected:
+
+ private slots:
+ void startScan();
+
+
};