author | mickeyl <mickeyl> | 2003-02-14 23:28:10 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-02-14 23:28:10 (UTC) |
commit | e8f0c623ff6a8822b84b9cc4ee3c1fb3b3016738 (patch) (unidiff) | |
tree | dd6a6e1e7e33c94b41240c9547ce0e7f7a255414 /noncore/net/wellenreiter/gui/configwindow.cpp | |
parent | 643c8058bbd67a8fedfd98cb895419cadde04e78 (diff) | |
download | opie-e8f0c623ff6a8822b84b9cc4ee3c1fb3b3016738.zip opie-e8f0c623ff6a8822b84b9cc4ee3c1fb3b3016738.tar.gz opie-e8f0c623ff6a8822b84b9cc4ee3c1fb3b3016738.tar.bz2 |
- remove manual switch into monitor mode ==> wellenreiterd handles this now
- remove manual start of channelswitcher ==> wellenreiterd handles this now
- add device type configurations for cisco, wlan-ng, hostap and orinoco
- minor bugfix to the start/stop logic
Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index 04e3457..515d9b2 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp | |||
@@ -13,11 +13,35 @@ | |||
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "configwindow.h" | 16 | #include "configwindow.h" |
17 | #include <qmap.h> | ||
18 | #include <qcombobox.h> | ||
19 | #include <qspinbox.h> | ||
17 | 20 | ||
18 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) | 21 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) |
19 | :WellenreiterConfigBase( parent, name, f ) | 22 | :WellenreiterConfigBase( parent, name, f ) |
20 | { | 23 | { |
24 | _devicetype[ "cisco" ] = 1; | ||
25 | _devicetype[ "wlan-ng" ] = 2; | ||
26 | _devicetype[ "hostap" ] = 3; | ||
27 | _devicetype[ "orinoco" ] = 4; | ||
28 | _devicetype[ "<manual>" ] = 5; | ||
29 | }; | ||
21 | 30 | ||
31 | int WellenreiterConfigWindow::daemonDeviceType() | ||
32 | { | ||
33 | QString name = deviceType->currentText(); | ||
34 | if ( _devicetype.contains( name ) ) | ||
35 | { | ||
36 | return _devicetype[name]; | ||
37 | } | ||
38 | else | ||
39 | { | ||
40 | return 0; | ||
41 | } | ||
22 | }; | 42 | }; |
23 | 43 | ||
44 | int WellenreiterConfigWindow::daemonHopInterval() | ||
45 | { | ||
46 | return hopInterval->cleanText().toInt(); | ||
47 | } | ||