author | kergoth <kergoth> | 2003-04-14 23:31:22 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-14 23:31:22 (UTC) |
commit | fb07cc161b4adc5bc250569599a7164af2d7caba (patch) (side-by-side diff) | |
tree | 1f391e35146e81835af5e0a395896b3fe3c0d46b /noncore/settings/networksettings/wlan/wlanimp2.h | |
parent | 68c558ca78e5416145b64ca87fd01361f033ef34 (diff) | |
download | opie-fb07cc161b4adc5bc250569599a7164af2d7caba.zip opie-fb07cc161b4adc5bc250569599a7164af2d7caba.tar.gz opie-fb07cc161b4adc5bc250569599a7164af2d7caba.tar.bz2 |
Add new wireless parser that uses the wireless-tools if-pre-up.d
script to handle wireless configuration, as opposed to pcmcia-cs
wireless.opts. This has a number of benefits. In addition to
improving clarity, this means one can now configure their wireless
non-pcmcia interfaces using networksettings. The only real question
is, how to handle the fact that its largely useless without the
if-pre-up.d script? I'll adapt the existing wlanimp.(cpp|h) to
the new .ui, and leave it as a compiletime selection for now.
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp2.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp2.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.h b/noncore/settings/networksettings/wlan/wlanimp2.h new file mode 100644 index 0000000..992d09a --- a/dev/null +++ b/noncore/settings/networksettings/wlan/wlanimp2.h @@ -0,0 +1,37 @@ +#ifndef WLANIMP_H +#define WLANIMP_H + +#include "wlan.h" +#include "interfaces.h" +#include <qstringlist.h> + +class InterfaceSetupImp; +class Interface; +class Config; + +class WLANImp : public WLAN { + Q_OBJECT + +public: + WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 ); + ~WLANImp(); + void setProfile(const QString &profile); + +protected: + void accept(); + +private: + void parseOpts(); + void writeOpts(); + + void parseKeyStr(QString keystr); + + InterfaceSetupImp *interfaceSetup; + Interfaces *interfaces; + Interface *interface; + + QString currentProfile; +}; + +#endif + |