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 @@ -31,14 +31,14 @@ class QLabel; class QListView; class QListViewItem; class QPushButton; - -class Manager; -class Device; +class QProgressBar; namespace OpieTooth { +class Manager; +class Device; class ScanDialog : public QDialog { Q_OBJECT @@ -48,9 +48,9 @@ namespace OpieTooth { ~ScanDialog(); QFrame* Frame7; - QLabel* TextLabel10; + QProgressBar* progress; QPushButton* StartButton; - QPushButton* PushButton6; + QPushButton* StopButton; QListView* ListView1; @@ -58,12 +58,14 @@ namespace OpieTooth { QGridLayout* Layout11; private slots: + void stopSearch(); void startSearch(); void fillList(const QString& device, RemoteDevices::ValueList list); private: - + void progressTimer(int maxSeconds); Manager *localDevice; + int progressStat; }; } |