Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 10 |
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 | |||
26 | class QVBoxLayout; | 25 | class QVBoxLayout; |
27 | class QHBoxLayout; | 26 | class QHBoxLayout; |
28 | class QGridLayout; | 27 | class QGridLayout; |
29 | class QFrame; | 28 | class QFrame; |
30 | class QLabel; | 29 | class QLabel; |
31 | class QListView; | 30 | class QListView; |
@@ -33,13 +32,13 @@ class QListViewItem; | |||
33 | class QPushButton; | 32 | class QPushButton; |
34 | class QProgressBar; | 33 | class QProgressBar; |
35 | 34 | ||
36 | 35 | ||
37 | namespace OpieTooth { | 36 | namespace OpieTooth { |
38 | 37 | ||
39 | 38 | #include <remotedevices.h> | |
40 | class Manager; | 39 | class Manager; |
41 | class Device; | 40 | class 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 |