Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h new file mode 100644 index 0000000..5cebb11 --- a/dev/null +++ b/noncore/net/opietooth/manager/scandialog.h | |||
@@ -0,0 +1,71 @@ | |||
1 | /* main.cpp | ||
2 | * | ||
3 | * copyright : (c) 2002 by Maximilian Reiß | ||
4 | * email : max.reiss@gmx.de | ||
5 | * | ||
6 | */ | ||
7 | /*************************************************************************** | ||
8 | * * | ||
9 | * This program is free software; you can redistribute it and/or modify * | ||
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 * | ||
12 | * (at your option) any later version. * | ||
13 | * * | ||
14 | ***************************************************************************/ | ||
15 | |||
16 | |||
17 | #ifndef SCANDIALOG_H | ||
18 | #define SCANDIALOG_H | ||
19 | |||
20 | #include <qvariant.h> | ||
21 | #include <qdialog.h> | ||
22 | |||
23 | |||
24 | #include <remotedevice.h> | ||
25 | |||
26 | class QVBoxLayout; | ||
27 | class QHBoxLayout; | ||
28 | class QGridLayout; | ||
29 | class QFrame; | ||
30 | class QLabel; | ||
31 | class QListView; | ||
32 | class QListViewItem; | ||
33 | class QPushButton; | ||
34 | |||
35 | class Manager; | ||
36 | class Device; | ||
37 | |||
38 | |||
39 | namespace OpieTooth { | ||
40 | |||
41 | |||
42 | |||
43 | class ScanDialog : public QDialog { | ||
44 | Q_OBJECT | ||
45 | |||
46 | public: | ||
47 | ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | ||
48 | ~ScanDialog(); | ||
49 | |||
50 | QFrame* Frame7; | ||
51 | QLabel* TextLabel10; | ||
52 | QPushButton* StartButton; | ||
53 | QPushButton* PushButton6; | ||
54 | QListView* ListView1; | ||
55 | |||
56 | |||
57 | protected: | ||
58 | QGridLayout* Layout11; | ||
59 | |||
60 | private slots: | ||
61 | void startSearch(); | ||
62 | void fillList(const QString& device, RemoteDevices::ValueList list); | ||
63 | |||
64 | private: | ||
65 | |||
66 | Manager *localDevice; | ||
67 | }; | ||
68 | |||
69 | } | ||
70 | |||
71 | #endif // SCANDIALOG_H | ||