#include </home/clem/local/src/opie/noncore/settings/networksettings/wlan/wlanimp.h>
Collaboration diagram for WLANImp:

Public Slots | |
| void | rescanNeighbourhood () |
| void | selectNetwork (QListViewItem *) |
Public Member Functions | |
| WLANImp (QWidget *parent=0, const char *name=0, Interface *i=0, bool modal=FALSE, WFlags fl=0) | |
| void | setProfile (const QString &profile) |
| WLANImp (QWidget *parent=0, const char *name=0, Interface *i=0, bool modal=FALSE, WFlags fl=0) | |
| ~WLANImp () | |
| void | setProfile (const QString &profile) |
Protected Member Functions | |
| void | accept () |
| void | accept () |
Private Slots | |
| void | typeChanged (int) |
Private Member Functions | |
| void | parseSettingFile () |
| void | changeAndSaveSettingFile () |
| void | parseOpts () |
| void | writeOpts () |
| void | parseKeyStr (QString keystr) |
| QString | formatKey (QString input) |
| void | handlePacket (Opie::Net::OPacket *) |
| void | displayFoundNetwork (const QString &mode, int channel, const QString &ssid, const Opie::Net::OMacAddress &mac) |
Private Attributes | |
| InterfaceSetupImp * | interfaceSetup |
| QStringList | settingsFileText |
| QString | currentProfile |
| InterfaceSetupImp * | interfaceSetup |
| Interfaces * | interfaces |
| Interface * | interface |
|
||||||||||||||||||||||||
|
Constructor, read in the wireless.opts file for parsing later. Definition at line 29 of file wlanimp.cpp. References QTextStream::eof(), interfaceSetup, IO_ReadOnly, odebug, oendl, QFile::open(), parseSettingFile(), QTextStream::readLine(), settingsFileText, QStringList::split(), stream, typeChanged(), and WIRELESS_OPTS. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 68 of file wlanimp2.cpp. |
|
|
|
|
|
Check to see if the current config is valid Save wireless.opts, save interfaces Definition at line 213 of file wlanimp.cpp. References changeAndSaveSettingFile(), OProcess::DontCare, interfaceSetup, OProcess::NoCommunication, oendl, owarn, InterfaceSetupImp::saveChanges(), and Opie::Core::OProcess::start(). |
|
|
Saves settings to the wireless.opts file using the current profile Definition at line 143 of file wlanimp.cpp. References QString::at(), QValueList< T >::begin(), QString::contains(), currentProfile, QValueList< T >::end(), IO_ReadWrite, QString::left(), QString::length(), odebug, oendl, QFile::open(), output, QFile::remove(), settingsFileText, stream, and WIRELESS_OPTS. Referenced by accept(). |
|
||||||||||||||||||||
|
|
|
|
Definition at line 283 of file wlanimp2.cpp. References i, QString::insert(), len, and QString::length(). Referenced by writeOpts(). |
|
|
Referenced by rescanNeighbourhood(). |
|
|
Definition at line 172 of file wlanimp2.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QString::isNull(), QString::null, and QStringList::split(). Referenced by parseOpts(). |
|
|
Definition at line 80 of file wlanimp2.cpp. References error(), Interfaces::getInterfaceOption(), i, interfaces, Interfaces::isInterfaceSet(), QString::isNull(), parseKeyStr(), and QString::replace(). |
|
|
Parses the settings file that was read in and gets any setting from it. Definition at line 68 of file wlanimp.cpp. References QString::at(), QValueList< T >::begin(), QString::contains(), currentProfile, QValueList< T >::end(), QString::find(), QString::left(), QString::length(), QString::mid(), QString::right(), settingsFileText, and QString::toInt(). Referenced by setProfile(), and WLANImp(). |
|
|
Definition at line 441 of file wlanimp2.cpp. References assert, QTextStream::atEnd(), Interface::getInterfaceName(), handlePacket(), i, Opie::Net::ONetwork::instance(), interface, IO_ReadOnly, QString::isEmpty(), lab, name, odebug, oendl, QFile::open(), owarn, p, and qApp. |
|
|
Definition at line 612 of file wlanimp2.cpp. |
|
|
|
|
|
Change the profile for both wireless settings and network settings. Definition at line 60 of file wlanimp.cpp. References interfaceSetup, parseSettingFile(), and InterfaceSetupImp::setProfile(). Referenced by WLANModule::configure(). |
|
|
Definition at line 52 of file wlanimp.cpp. Referenced by WLANImp(). |
|
|
Definition at line 301 of file wlanimp2.cpp. References error(), formatKey(), Interfaces::getInterfaceName(), Interfaces::getInterfaceOption(), interfaces, interfaceSetup, Interfaces::isInterfaceSet(), QStringList::join(), odebug, oendl, Interfaces::removeInterfaceOption(), InterfaceSetupImp::saveChanges(), Interfaces::setInterfaceOption(), and warning(). |
|
|
Definition at line 49 of file wlanimp2.h. Referenced by changeAndSaveSettingFile(), and parseSettingFile(). |
|
|
Definition at line 47 of file wlanimp2.h. Referenced by rescanNeighbourhood(). |
|
|
Definition at line 46 of file wlanimp2.h. Referenced by parseOpts(), and writeOpts(). |
|
|
Definition at line 45 of file wlanimp2.h. |
|
|
Definition at line 28 of file wlanimp.h. Referenced by accept(), setProfile(), WLANImp(), and writeOpts(). |
|
|
Definition at line 29 of file wlanimp.h. Referenced by changeAndSaveSettingFile(), parseSettingFile(), and WLANImp(). |
1.4.2