author | harlekin <harlekin> | 2003-02-16 10:04:28 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-02-16 10:04:28 (UTC) |
commit | fb16f3317916704eca14d35271d48130bfa78c6c (patch) (unidiff) | |
tree | 2a68df6a2938466c6d8e7e446730c5794bd61a8d /noncore/net/opietooth/manager/scandialog.h | |
parent | f1737ebd1afc35528c2452f6a281039c39a28f1f (diff) | |
download | opie-fb16f3317916704eca14d35271d48130bfa78c6c.zip opie-fb16f3317916704eca14d35271d48130bfa78c6c.tar.gz opie-fb16f3317916704eca14d35271d48130bfa78c6c.tar.bz2 |
cleaned the scandialog
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index 8f8d39a..a644e96 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h | |||
@@ -20,62 +20,57 @@ | |||
20 | #include <qvariant.h> | 20 | #include <qvariant.h> |
21 | #include <qdialog.h> | 21 | #include <qdialog.h> |
22 | #include <qlist.h> | 22 | #include <qlist.h> |
23 | 23 | ||
24 | #include <remotedevice.h> | 24 | #include <remotedevice.h> |
25 | class QVBoxLayout; | 25 | class QVBoxLayout; |
26 | class QHBoxLayout; | ||
27 | class QGridLayout; | 26 | class QGridLayout; |
28 | class QFrame; | ||
29 | class QLabel; | 27 | class QLabel; |
30 | class QListView; | 28 | class QListView; |
31 | class QListViewItem; | 29 | class QListViewItem; |
32 | class QPushButton; | 30 | class QPushButton; |
33 | class QProgressBar; | 31 | class QProgressBar; |
34 | 32 | ||
35 | 33 | ||
36 | namespace OpieTooth { | 34 | namespace OpieTooth { |
37 | 35 | ||
38 | |||
39 | class Manager; | 36 | class Manager; |
40 | class Device; | 37 | class Device; |
41 | 38 | ||
42 | class ScanDialog : public QDialog { | 39 | class ScanDialog : public QDialog { |
43 | Q_OBJECT | 40 | Q_OBJECT |
44 | 41 | ||
45 | public: | 42 | public: |
46 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 43 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
47 | ~ScanDialog(); | 44 | ~ScanDialog(); |
48 | 45 | ||
49 | private: // make them private -zecke | 46 | private: |
50 | QFrame* Frame7; | 47 | QProgressBar* progress; |
51 | QProgressBar* progress; | ||
52 | QPushButton* StartStopButton; | 48 | QPushButton* StartStopButton; |
53 | // QPushButton* StopButton; | ||
54 | QListView* ListView1; | 49 | QListView* ListView1; |
55 | 50 | ||
56 | public slots: | 51 | public slots: |
57 | void accept(); | 52 | void accept(); |
58 | 53 | ||
59 | protected: | 54 | protected: |
60 | QVBoxLayout* Layout11; | 55 | QVBoxLayout* Layout11; |
61 | 56 | ||
62 | private slots: | 57 | private slots: |
63 | void stopSearch(); | 58 | void stopSearch(); |
64 | void startSearch(); | 59 | void startSearch(); |
65 | void progressTimer(); | 60 | void progressTimer(); |
66 | void fillList(const QString& device, RemoteDevice::ValueList list); | 61 | void fillList( const QString& device, RemoteDevice::ValueList list ); |
67 | 62 | ||
68 | private: | 63 | private: |
69 | bool m_search:1; | 64 | bool m_search:1; |
70 | void emitToManager(); | 65 | void emitToManager(); |
71 | Manager *localDevice; | 66 | Manager *localDevice; |
72 | int progressStat; | 67 | int progressStat; |
73 | 68 | ||
74 | signals: | 69 | signals: |
75 | void selectedDevices(const QValueList<RemoteDevice>&); | 70 | void selectedDevices( const QValueList<RemoteDevice>& ); |
76 | }; | 71 | }; |
77 | 72 | ||
78 | 73 | ||
79 | } | 74 | } |
80 | 75 | ||
81 | #endif // SCANDIALOG_H | 76 | #endif // SCANDIALOG_H |