author | mickeyl <mickeyl> | 2003-03-30 01:51:14 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-30 01:51:14 (UTC) |
commit | d11a0154e2d9732854c9a3d598857bc20f359849 (patch) (unidiff) | |
tree | af0e0273d01f4f6c64c9f230f22bb91a7a8a21d8 /noncore/net/wellenreiter/gui/configwindow.cpp | |
parent | 99899abc80a8aa05044eeecd8a061b0a8efaa713 (diff) | |
download | opie-d11a0154e2d9732854c9a3d598857bc20f359849.zip opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.gz opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.bz2 |
- the network work for libopie2 pays off...
- good bye to wellenreiterd, t'was fun but always too unstable and too hard to maintain
- good bye to libwellenreiter
Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index f86b109..6dd862f 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp | |||
@@ -13,13 +13,19 @@ | |||
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | /* LOCAL */ | ||
16 | #include "configwindow.h" | 17 | #include "configwindow.h" |
18 | |||
19 | /* QT */ | ||
17 | #include <qmap.h> | 20 | #include <qmap.h> |
18 | #include <qcombobox.h> | 21 | #include <qcombobox.h> |
19 | #include <qpushbutton.h> | 22 | #include <qpushbutton.h> |
20 | #include <qspinbox.h> | 23 | #include <qspinbox.h> |
21 | #include <qlayout.h> | 24 | #include <qlayout.h> |
22 | 25 | ||
26 | /* OPIE */ | ||
27 | #include <opie2/onetwork.h> | ||
28 | |||
23 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) | 29 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) |
24 | :WellenreiterConfigBase( parent, name, true, f ) | 30 | :WellenreiterConfigBase( parent, name, true, f ) |
25 | { | 31 | { |
@@ -29,6 +35,16 @@ WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char | |||
29 | _devicetype[ "orinoco" ] = 4; | 35 | _devicetype[ "orinoco" ] = 4; |
30 | _devicetype[ "<manual>" ] = 5; | 36 | _devicetype[ "<manual>" ] = 5; |
31 | 37 | ||
38 | // gather possible interface names from ONetwork | ||
39 | ONetwork* net = ONetwork::instance(); | ||
40 | ONetwork::InterfaceIterator it = net->iterator(); | ||
41 | while ( it.current() ) | ||
42 | { | ||
43 | if ( it.current()->isWireless() ) | ||
44 | interfaceName->insertItem( it.current()->name() ); | ||
45 | ++it; | ||
46 | } | ||
47 | |||
32 | #ifdef Q_WS_X11 // We're on X11: adding an Ok-Button for the Dialog here | 48 | #ifdef Q_WS_X11 // We're on X11: adding an Ok-Button for the Dialog here |
33 | QPushButton* okButton = new QPushButton( "ok", this ); | 49 | QPushButton* okButton = new QPushButton( "ok", this ); |
34 | okButton->show(); | 50 | okButton->show(); |