author | benmeyer <benmeyer> | 2003-04-08 23:53:34 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2003-04-08 23:53:34 (UTC) |
commit | 17ba7a490ca74c491cfb11df52b44ef7826d1297 (patch) (unidiff) | |
tree | c5c7defdacd6b4f231baf97380ad69192c3dbde1 /noncore/settings/networksettings/wlan/wlanimp.cpp | |
parent | 89100a32b43b7eda68aaa19bc275a0fb7ce36e30 (diff) | |
download | opie-17ba7a490ca74c491cfb11df52b44ef7826d1297.zip opie-17ba7a490ca74c491cfb11df52b44ef7826d1297.tar.gz opie-17ba7a490ca74c491cfb11df52b44ef7826d1297.tar.bz2 |
kde updates
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp.cpp b/noncore/settings/networksettings/wlan/wlanimp.cpp index 3797e22..57266bb 100644 --- a/noncore/settings/networksettings/wlan/wlanimp.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp.cpp | |||
@@ -13,9 +13,12 @@ | |||
13 | #include <qtabwidget.h> | 13 | #include <qtabwidget.h> |
14 | #include <qcombobox.h> | 14 | #include <qcombobox.h> |
15 | 15 | ||
16 | /* system() */ | 16 | #ifdef QTE_VERSION |
17 | //#include <stdlib.h> | 17 | #include <opie/oprocess.h> |
18 | #include <opie/oprocess.h> | 18 | #else |
19 | #define OProcess KProcess | ||
20 | #include <kprocess.h> | ||
21 | #endif | ||
19 | 22 | ||
20 | #define WIRELESS_OPTS "/etc/pcmcia/wireless.opts" | 23 | #define WIRELESS_OPTS "/etc/pcmcia/wireless.opts" |
21 | 24 | ||
@@ -226,7 +229,8 @@ void WLANImp::accept(){ | |||
226 | if(!interfaceSetup->saveChanges()) | 229 | if(!interfaceSetup->saveChanges()) |
227 | return; | 230 | return; |
228 | 231 | ||
229 | OProcess insert(QString("sh")); | 232 | OProcess insert; |
233 | insert << "sh"; | ||
230 | insert << "-c"; | 234 | insert << "-c"; |
231 | insert << "cardctl eject && cardctl insert"; | 235 | insert << "cardctl eject && cardctl insert"; |
232 | 236 | ||
@@ -238,5 +242,3 @@ void WLANImp::accept(){ | |||
238 | QDialog::accept(); | 242 | QDialog::accept(); |
239 | } | 243 | } |
240 | 244 | ||
241 | // wlanimp.cpp | ||
242 | |||