author | mickeyl <mickeyl> | 2003-05-05 22:27:58 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-05 22:27:58 (UTC) |
commit | 1a194aafffe37127758036e80ff55ead0c0e118d (patch) (unidiff) | |
tree | 9880a12153767027386c05a808dbeea64bf33ae4 /noncore/net/wellenreiter/gui/configwindow.h | |
parent | 58a78cbe1bc5ded219ba23432041f20e03404403 (diff) | |
download | opie-1a194aafffe37127758036e80ff55ead0c0e118d.zip opie-1a194aafffe37127758036e80ff55ead0c0e118d.tar.gz opie-1a194aafffe37127758036e80ff55ead0c0e118d.tar.bz2 |
re-add
Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.h b/noncore/net/wellenreiter/gui/configwindow.h new file mode 100644 index 0000000..057bed6 --- a/dev/null +++ b/noncore/net/wellenreiter/gui/configwindow.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #ifndef WELLENREITERCONFIGWINDOW_H | ||
17 | #define WELLENREITERCONFIGWINDOW_H | ||
18 | |||
19 | #include "configbase.h" | ||
20 | #include <qmap.h> | ||
21 | #include <qcombobox.h> | ||
22 | #include <qstring.h> | ||
23 | |||
24 | const int DEVTYPE_SELECT = 0; | ||
25 | const int DEVTYPE_CISCO = 1; | ||
26 | const int DEVTYPE_WLAN_NG = 2; | ||
27 | const int DEVTYPE_HOSTAP = 3; | ||
28 | const int DEVTYPE_ORINOCO = 4; | ||
29 | const int DEVTYPE_MANUAL = 5; | ||
30 | const int DEVTYPE_FILE = 6; | ||
31 | |||
32 | class WellenreiterConfigWindow; | ||
33 | |||
34 | class WellenreiterConfigWindow : public WellenreiterConfigBase | ||
35 | { | ||
36 | Q_OBJECT | ||
37 | |||
38 | public: | ||
39 | WellenreiterConfigWindow( QWidget * parent = 0, const char * name = "WellenreiterConfigWindow", WFlags f = 0 ); | ||
40 | int driverType() const; | ||
41 | int hoppingInterval() const; | ||
42 | const QString soundOnNetwork() const { return "";/*netSound->currentText();*/ }; | ||
43 | const QString soundOnBeacon() const { return "";/*beaconSound->currentText();*/ }; | ||
44 | static WellenreiterConfigWindow* instance() { return _instance; }; | ||
45 | |||
46 | bool usePrismHeader(); | ||
47 | |||
48 | public slots: | ||
49 | void changedDeviceType(int); | ||
50 | void getCaptureFileNameClicked(); | ||
51 | |||
52 | void channelAllClicked(int); | ||
53 | |||
54 | protected: | ||
55 | QMap<QString, int> _devicetype; | ||
56 | static WellenreiterConfigWindow* _instance; | ||
57 | int _guess; | ||
58 | |||
59 | }; | ||
60 | |||
61 | #endif | ||