Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index 07bf73f..74d7f8e 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp | |||
@@ -1,9 +1,14 @@ | |||
1 | |||
1 | #include "wlanmodule.h" | 2 | #include "wlanmodule.h" |
2 | #include "wlanimp2.h" | 3 | #include "wlanimp2.h" |
3 | #include "infoimp.h" | 4 | #include "infoimp.h" |
4 | #include "wextensions.h" | 5 | #include "wextensions.h" |
5 | #include "interfaceinformationimp.h" | 6 | #include "interfaceinformationimp.h" |
6 | 7 | ||
8 | /* OPIE */ | ||
9 | #include <qpe/qpeapplication.h> | ||
10 | |||
11 | /* QT */ | ||
7 | #include <qcheckbox.h> | 12 | #include <qcheckbox.h> |
8 | #include <qcombobox.h> | 13 | #include <qcombobox.h> |
9 | #include <qlabel.h> | 14 | #include <qlabel.h> |
@@ -13,8 +18,6 @@ | |||
13 | #include <qtabwidget.h> | 18 | #include <qtabwidget.h> |
14 | 19 | ||
15 | 20 | ||
16 | |||
17 | |||
18 | /** | 21 | /** |
19 | * Constructor, find all of the possible interfaces | 22 | * Constructor, find all of the possible interfaces |
20 | */ | 23 | */ |
@@ -172,7 +175,7 @@ void WLANModule::receive(const QCString ¶m, const QByteArray &arg) | |||
172 | if (count == 2){ | 175 | if (count == 2){ |
173 | // those should call the interface directly | 176 | // those should call the interface directly |
174 | QWidget *info = getInfo( ifa ); | 177 | QWidget *info = getInfo( ifa ); |
175 | info->showMaximized(); | 178 | QPEApplication::showWidget( info ); |
176 | 179 | ||
177 | if ( action.contains("start" ) ){ | 180 | if ( action.contains("start" ) ){ |
178 | ifa->start(); | 181 | ifa->start(); |
@@ -190,7 +193,7 @@ void WLANModule::receive(const QCString ¶m, const QByteArray &arg) | |||
190 | wlanconfigWiget = (WLANImp*) configure(ifa); | 193 | wlanconfigWiget = (WLANImp*) configure(ifa); |
191 | toShow = (QDialog*) wlanconfigWiget; | 194 | toShow = (QDialog*) wlanconfigWiget; |
192 | } | 195 | } |
193 | wlanconfigWiget->showMaximized(); | 196 | QPEApplication::showWidget( wlanconfigWiget ); |
194 | stream >> value; | 197 | stream >> value; |
195 | qDebug("WLANModule (build 4) is setting %s of %s to %s", action.latin1(), interface.latin1(), value.latin1() ); | 198 | qDebug("WLANModule (build 4) is setting %s of %s to %s", action.latin1(), interface.latin1(), value.latin1() ); |
196 | if (value.isEmpty()){ | 199 | if (value.isEmpty()){ |