Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index e3b9e53..71da82e 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -42,4 +42,5 @@ | |||
42 | namespace OpieTooth { | 42 | namespace OpieTooth { |
43 | 43 | ||
44 | class RemoteDevices; | ||
44 | 45 | ||
45 | BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | 46 | BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) |
@@ -50,4 +51,7 @@ namespace OpieTooth { | |||
50 | QObject::connect((QObject*)configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges())); | 51 | QObject::connect((QObject*)configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges())); |
51 | 52 | ||
53 | |||
54 | |||
55 | |||
52 | QPalette pal = this->palette(); | 56 | QPalette pal = this->palette(); |
53 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); | 57 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); |
@@ -150,4 +154,11 @@ namespace OpieTooth { | |||
150 | 154 | ||
151 | 155 | ||
156 | void BlueBase::addSearchedDevices( QList<RemoteDevices> &newDevices ) { | ||
157 | |||
158 | |||
159 | |||
160 | } | ||
161 | |||
162 | |||
152 | /** | 163 | /** |
153 | * Open the "scan for devices" dialog | 164 | * Open the "scan for devices" dialog |
@@ -155,4 +166,7 @@ namespace OpieTooth { | |||
155 | void BlueBase::startScan() { | 166 | void BlueBase::startScan() { |
156 | ScanDialog *scan = new ScanDialog( this, "", true); | 167 | ScanDialog *scan = new ScanDialog( this, "", true); |
168 | QObject::connect((QObject*)scan, SIGNAL( selectedDevices(QList<RemoteDevices>&) ), | ||
169 | this, SLOT( addSearchedDevices(QList<RemoteDevices>& ) )); | ||
170 | |||
157 | scan->showMaximized(); | 171 | scan->showMaximized(); |
158 | } | 172 | } |