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) (show 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
@@ -30,16 +30,16 @@ class QFrame;
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
@@ -47,24 +47,26 @@ namespace OpieTooth {
ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~ScanDialog();
QFrame* Frame7;
- QLabel* TextLabel10;
+ QProgressBar* progress;
QPushButton* StartButton;
- QPushButton* PushButton6;
+ QPushButton* StopButton;
QListView* ListView1;
protected:
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;
};
}