Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index 5cebb11..6d9b877 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h | |||
@@ -28,44 +28,46 @@ class QHBoxLayout; | |||
28 | class QGridLayout; | 28 | class QGridLayout; |
29 | class QFrame; | 29 | class QFrame; |
30 | class QLabel; | 30 | class QLabel; |
31 | class QListView; | 31 | class QListView; |
32 | class QListViewItem; | 32 | class QListViewItem; |
33 | class QPushButton; | 33 | class QPushButton; |
34 | 34 | class QProgressBar; | |
35 | class Manager; | ||
36 | class Device; | ||
37 | 35 | ||
38 | 36 | ||
39 | namespace OpieTooth { | 37 | namespace OpieTooth { |
40 | 38 | ||
41 | 39 | ||
40 | class Manager; | ||
41 | class Device; | ||
42 | 42 | ||
43 | class ScanDialog : public QDialog { | 43 | class ScanDialog : public QDialog { |
44 | Q_OBJECT | 44 | Q_OBJECT |
45 | 45 | ||
46 | public: | 46 | public: |
47 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 47 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
48 | ~ScanDialog(); | 48 | ~ScanDialog(); |
49 | 49 | ||
50 | QFrame* Frame7; | 50 | QFrame* Frame7; |
51 | QLabel* TextLabel10; | 51 | QProgressBar* progress; |
52 | QPushButton* StartButton; | 52 | QPushButton* StartButton; |
53 | QPushButton* PushButton6; | 53 | QPushButton* StopButton; |
54 | QListView* ListView1; | 54 | QListView* ListView1; |
55 | 55 | ||
56 | 56 | ||
57 | protected: | 57 | protected: |
58 | QGridLayout* Layout11; | 58 | QGridLayout* Layout11; |
59 | 59 | ||
60 | private slots: | 60 | private slots: |
61 | void stopSearch(); | ||
61 | void startSearch(); | 62 | void startSearch(); |
62 | void fillList(const QString& device, RemoteDevices::ValueList list); | 63 | void fillList(const QString& device, RemoteDevices::ValueList list); |
63 | 64 | ||
64 | private: | 65 | private: |
65 | 66 | void progressTimer(int maxSeconds); | |
66 | Manager *localDevice; | 67 | Manager *localDevice; |
68 | int progressStat; | ||
67 | }; | 69 | }; |
68 | 70 | ||
69 | } | 71 | } |
70 | 72 | ||
71 | #endif // SCANDIALOG_H | 73 | #endif // SCANDIALOG_H |