summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/configwindow.cpp
authormickeyl <mickeyl>2003-02-14 23:28:10 (UTC)
committer mickeyl <mickeyl>2003-02-14 23:28:10 (UTC)
commite8f0c623ff6a8822b84b9cc4ee3c1fb3b3016738 (patch) (unidiff)
treedd6a6e1e7e33c94b41240c9547ce0e7f7a255414 /noncore/net/wellenreiter/gui/configwindow.cpp
parent643c8058bbd67a8fedfd98cb895419cadde04e78 (diff)
downloadopie-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) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/configwindow.cpp26
1 files changed, 25 insertions, 1 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
@@ -14,10 +14,34 @@
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
18WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) 21WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f )
19 :WellenreiterConfigBase( parent, name, f ) 22 :WellenreiterConfigBase( parent, name, f )
20{ 23{
21 24 _devicetype[ "cisco" ] = 1;
25 _devicetype[ "wlan-ng" ] = 2;
26 _devicetype[ "hostap" ] = 3;
27 _devicetype[ "orinoco" ] = 4;
28 _devicetype[ "<manual>" ] = 5;
22}; 29};
23 30
31int 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 }
42};
43
44int WellenreiterConfigWindow::daemonHopInterval()
45{
46 return hopInterval->cleanText().toInt();
47}