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 | |||
@@ -15,3 +15,6 @@ | |||
15 | 15 | ||
16 | /* LOCAL */ | ||
16 | #include "configwindow.h" | 17 | #include "configwindow.h" |
18 | |||
19 | /* QT */ | ||
17 | #include <qmap.h> | 20 | #include <qmap.h> |
@@ -22,2 +25,5 @@ | |||
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 ) |
@@ -31,2 +37,12 @@ WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char | |||
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 |