author | tille <tille> | 2003-06-13 13:32:55 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-13 13:32:55 (UTC) |
commit | e5d826221bab71c39dc8fc89d91509dd16bc2a8a (patch) (side-by-side diff) | |
tree | 4a0ff06e1e6b43d52fe78a9ab14a7a8f98f41327 /noncore/settings/networksettings/wlan/wlanimp2.cpp | |
parent | c48af71638614aaff280178693448916e0e98102 (diff) | |
download | opie-e5d826221bab71c39dc8fc89d91509dd16bc2a8a.zip opie-e5d826221bab71c39dc8fc89d91509dd16bc2a8a.tar.gz opie-e5d826221bab71c39dc8fc89d91509dd16bc2a8a.tar.bz2 |
qcop channels for start, stop wlan interface works now...
... the qcop handling has to become more general, and this handlet in the interface itself.
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp2.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp2.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.cpp b/noncore/settings/networksettings/wlan/wlanimp2.cpp index e7b842b..b988822 100644 --- a/noncore/settings/networksettings/wlan/wlanimp2.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp2.cpp @@ -16,3 +16,3 @@ -#ifdef QWS +#ifdef QWS #include <opie/oprocess.h> @@ -28,3 +28,3 @@ * Constructor, read in the wireless.opts file for parsing later. - */ + */ WLANImp::WLANImp( QWidget* parent, const char* name, Interface *i, bool modal, WFlags fl) : WLAN(parent, name, modal, fl), currentProfile("*"), interface(i) { @@ -42,3 +42,3 @@ WLANImp::WLANImp( QWidget* parent, const char* name, Interface *i, bool modal, W WLANImp::~WLANImp() { - delete interfaces; +//FIXME: delete interfaces; } @@ -47,3 +47,3 @@ WLANImp::~WLANImp() { * Change the profile for both wireless settings and network settings. - */ + */ void WLANImp::setProfile(const QString &profile){ @@ -60,3 +60,3 @@ void WLANImp::parseOpts() { - + opt = interfaces->getInterfaceOption("wireless_essid", error); @@ -77,3 +77,3 @@ void WLANImp::parseOpts() { } - + opt = interfaces->getInterfaceOption("wireless_ap", error).simplifyWhiteSpace(); @@ -134,3 +134,3 @@ void WLANImp::parseKeyStr(QString keystr) { break; - } + } } else { @@ -142,3 +142,3 @@ void WLANImp::parseKeyStr(QString keystr) { enc = 1; - QStringList::Iterator next = ++it; + QStringList::Iterator next = ++it; if (it == keys.end()) { @@ -189,4 +189,4 @@ void WLANImp::accept() { } - } - + } + if (essid->currentText().isEmpty()) { @@ -200,3 +200,3 @@ void WLANImp::accept() { } - + // Try to save the interfaces settings. |