Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index f18784d..8f8d39a 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h | |||
@@ -37,43 +37,45 @@ namespace OpieTooth { | |||
37 | 37 | ||
38 | 38 | ||
39 | class Manager; | 39 | class Manager; |
40 | class Device; | 40 | class Device; |
41 | 41 | ||
42 | class ScanDialog : public QDialog { | 42 | class ScanDialog : public QDialog { |
43 | Q_OBJECT | 43 | Q_OBJECT |
44 | 44 | ||
45 | public: | 45 | public: |
46 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 46 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
47 | ~ScanDialog(); | 47 | ~ScanDialog(); |
48 | 48 | ||
49 | private: // make them private -zecke | ||
49 | QFrame* Frame7; | 50 | QFrame* Frame7; |
50 | QProgressBar* progress; | 51 | QProgressBar* progress; |
51 | QPushButton* StartButton; | 52 | QPushButton* StartStopButton; |
52 | QPushButton* StopButton; | 53 | // QPushButton* StopButton; |
53 | QListView* ListView1; | 54 | QListView* ListView1; |
54 | 55 | ||
55 | public slots: | 56 | public slots: |
56 | void accept(); | 57 | void accept(); |
57 | 58 | ||
58 | protected: | 59 | protected: |
59 | QVBoxLayout* Layout11; | 60 | QVBoxLayout* Layout11; |
60 | 61 | ||
61 | private slots: | 62 | private slots: |
62 | void stopSearch(); | 63 | void stopSearch(); |
63 | void startSearch(); | 64 | void startSearch(); |
64 | void progressTimer(); | 65 | void progressTimer(); |
65 | void fillList(const QString& device, RemoteDevice::ValueList list); | 66 | void fillList(const QString& device, RemoteDevice::ValueList list); |
66 | 67 | ||
67 | private: | 68 | private: |
69 | bool m_search:1; | ||
68 | void emitToManager(); | 70 | void emitToManager(); |
69 | Manager *localDevice; | 71 | Manager *localDevice; |
70 | int progressStat; | 72 | int progressStat; |
71 | 73 | ||
72 | signals: | 74 | signals: |
73 | void selectedDevices(const QValueList<RemoteDevice>&); | 75 | void selectedDevices(const QValueList<RemoteDevice>&); |
74 | }; | 76 | }; |
75 | 77 | ||
76 | 78 | ||
77 | } | 79 | } |
78 | 80 | ||
79 | #endif // SCANDIALOG_H | 81 | #endif // SCANDIALOG_H |