summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.h
authorharlekin <harlekin>2002-06-16 19:26:43 (UTC)
committer harlekin <harlekin>2002-06-16 19:26:43 (UTC)
commit8dde6abcd14717bd362248c365fe140efe0f0386 (patch) (unidiff)
treef9e97c987e5197d4cbb3d0a0d5afe99fe12b1eba /noncore/net/opietooth/manager/scandialog.h
parent1eca76c99326afc111efeb2bf55a306a4f37eb1e (diff)
downloadopie-8dde6abcd14717bd362248c365fe140efe0f0386.zip
opie-8dde6abcd14717bd362248c365fe140efe0f0386.tar.gz
opie-8dde6abcd14717bd362248c365fe140efe0f0386.tar.bz2
update
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h
index fcaee6e..4785a62 100644
--- a/noncore/net/opietooth/manager/scandialog.h
+++ b/noncore/net/opietooth/manager/scandialog.h
@@ -10,42 +10,41 @@
10 * it under the terms of the GNU General Public License as published by * 10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or * 11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. * 12 * (at your option) any later version. *
13 * * 13 * *
14 ***************************************************************************/ 14 ***************************************************************************/
15 15
16 16
17#ifndef SCANDIALOG_H 17#ifndef SCANDIALOG_H
18#define SCANDIALOG_H 18#define SCANDIALOG_H
19 19
20#include <qvariant.h> 20#include <qvariant.h>
21#include <qdialog.h> 21#include <qdialog.h>
22#include <qlist.h>
22 23
23 24
24#include <remotedevice.h>
25
26class QVBoxLayout; 25class QVBoxLayout;
27class QHBoxLayout; 26class QHBoxLayout;
28class QGridLayout; 27class QGridLayout;
29class QFrame; 28class QFrame;
30class QLabel; 29class QLabel;
31class QListView; 30class QListView;
32class QListViewItem; 31class QListViewItem;
33class QPushButton; 32class QPushButton;
34class QProgressBar; 33class QProgressBar;
35 34
36 35
37namespace OpieTooth { 36namespace OpieTooth {
38 37
39 38#include <remotedevices.h>
40class Manager; 39class Manager;
41class Device; 40class Device;
42 41
43 class ScanDialog : public QDialog { 42 class ScanDialog : public QDialog {
44 Q_OBJECT 43 Q_OBJECT
45 44
46 public: 45 public:
47 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 );
48 ~ScanDialog(); 47 ~ScanDialog();
49 48
50 QFrame* Frame7; 49 QFrame* Frame7;
51 QProgressBar* progress; 50 QProgressBar* progress;
@@ -55,19 +54,24 @@ class Device;
55 54
56 55
57 protected: 56 protected:
58 QVBoxLayout* Layout11; 57 QVBoxLayout* Layout11;
59 58
60 private slots: 59 private slots:
61 void stopSearch(); 60 void stopSearch();
62 void startSearch(); 61 void startSearch();
63 void progressTimer(); 62 void progressTimer();
64 void fillList(const QString& device, RemoteDevices::ValueList list); 63 void fillList(const QString& device, RemoteDevices::ValueList list);
65 64
66 private: 65 private:
66 void emitToManager();
67 Manager *localDevice; 67 Manager *localDevice;
68 int progressStat; 68 int progressStat;
69
70 signals:
71 void selectedDevices(QList<RemoteDevices>&);
69 }; 72 };
70 73
74
71} 75}
72 76
73#endif // SCANDIALOG_H 77#endif // SCANDIALOG_H