summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.h14
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
@@ -32,7 +32,5 @@ class QListView;
class QListViewItem;
class QPushButton;
-
-class Manager;
-class Device;
+class QProgressBar;
@@ -40,4 +38,6 @@ namespace OpieTooth {
+class Manager;
+class Device;
class ScanDialog : public QDialog {
@@ -49,7 +49,7 @@ namespace OpieTooth {
QFrame* Frame7;
- QLabel* TextLabel10;
+ QProgressBar* progress;
QPushButton* StartButton;
- QPushButton* PushButton6;
+ QPushButton* StopButton;
QListView* ListView1;
@@ -59,10 +59,12 @@ namespace OpieTooth {
private slots:
+ void stopSearch();
void startSearch();
void fillList(const QString& device, RemoteDevices::ValueList list);
private:
-
+ void progressTimer(int maxSeconds);
Manager *localDevice;
+ int progressStat;
};