author | harlekin <harlekin> | 2002-06-02 22:05:55 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-02 22:05:55 (UTC) |
commit | d068b0a50826a189d11e2f2037ee21a4c0850567 (patch) (unidiff) | |
tree | d07771652ae649d0452d58211fa588589fb76360 | |
parent | 6898878a1ef6d5551d7dde9363f238e57b5c9671 (diff) | |
download | opie-d068b0a50826a189d11e2f2037ee21a4c0850567.zip opie-d068b0a50826a189d11e2f2037ee21a4c0850567.tar.gz opie-d068b0a50826a189d11e2f2037ee21a4c0850567.tar.bz2 |
update
-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 | |||
@@ -16,8 +16,9 @@ | |||
16 | * * | 16 | * * |
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> |
23 | #include <qpushbutton.h> | 24 | #include <qpushbutton.h> |
@@ -37,8 +38,10 @@ | |||
37 | BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | 38 | 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); |
44 | pal.setColor(QPalette::Inactive, QColorGroup::Button, col); | 47 | pal.setColor(QPalette::Inactive, QColorGroup::Button, col); |
@@ -47,8 +50,13 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
47 | this->setPalette(pal); | 50 | this->setPalette(pal); |
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 | ||
54 | 62 | ||
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: | |||
26 | ~BlueBase(); | 26 | ~BlueBase(); |
27 | 27 | ||
28 | protected: | 28 | protected: |
29 | 29 | ||
30 | |||
31 | private slots: | ||
32 | void startScan(); | ||
33 | |||
34 | |||
30 | }; | 35 | }; |
31 | 36 | ||
32 | 37 | ||
33 | 38 | ||