summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h
index fcaee6e..4785a62 100644
--- a/noncore/net/opietooth/manager/scandialog.h
+++ b/noncore/net/opietooth/manager/scandialog.h
@@ -16,16 +16,15 @@
16 16
17#ifndef SCANDIALOG_H 17#ifndef SCANDIALOG_H
18#define SCANDIALOG_H 18#define SCANDIALOG_H
19 19
20#include <qvariant.h> 20#include <qvariant.h>
21#include <qdialog.h> 21#include <qdialog.h>
22#include <qlist.h>
22 23
23 24
24#include <remotedevice.h>
25
26class QVBoxLayout; 25class QVBoxLayout;
27class QHBoxLayout; 26class QHBoxLayout;
28class QGridLayout; 27class QGridLayout;
29class QFrame; 28class QFrame;
30class QLabel; 29class QLabel;
31class QListView; 30class QListView;
@@ -33,13 +32,13 @@ class QListViewItem;
33class QPushButton; 32class QPushButton;
34class QProgressBar; 33class QProgressBar;
35 34
36 35
37namespace OpieTooth { 36namespace OpieTooth {
38 37
39 38#include <remotedevices.h>
40class Manager; 39class Manager;
41class Device; 40class Device;
42 41
43 class ScanDialog : public QDialog { 42 class ScanDialog : public QDialog {
44 Q_OBJECT 43 Q_OBJECT
45 44
@@ -61,13 +60,18 @@ class Device;
61 void stopSearch(); 60 void stopSearch();
62 void startSearch(); 61 void startSearch();
63 void progressTimer(); 62 void progressTimer();
64 void fillList(const QString& device, RemoteDevices::ValueList list); 63 void fillList(const QString& device, RemoteDevices::ValueList list);
65 64
66 private: 65 private:
66 void emitToManager();
67 Manager *localDevice; 67 Manager *localDevice;
68 int progressStat; 68 int progressStat;
69
70 signals:
71 void selectedDevices(QList<RemoteDevices>&);
69 }; 72 };
70 73
74
71} 75}
72 76
73#endif // SCANDIALOG_H 77#endif // SCANDIALOG_H