#include </home/clem/local/src/opie/noncore/settings/networksettings/interfaces/interfacesetupimp.h>
Collaboration diagram for InterfaceSetupImp:

Public Slots | |
| void | setProfile (const QString &profile) |
| bool | saveSettings () |
Public Member Functions | |
| InterfaceSetupImp (QWidget *parent=0, const char *name=0, Interface *i=0, Interfaces *j=0, WFlags fl=0) | |
| ~InterfaceSetupImp () | |
| bool | saveChanges () |
Private Attributes | |
| Interfaces * | interfaces |
| Interface * | interface |
| bool | delInterfaces |
Definition at line 16 of file interfacesetupimp.h.
|
||||||||||||||||||||||||
|
Definition at line 28 of file interfacesetupimp.cpp. References delInterfaces, and interfaces. |
|
|
Destructor Definition at line 38 of file interfacesetupimp.cpp. References delInterfaces, and interfaces. |
|
|
Save the current settings, then write out the interfaces file and close. Definition at line 47 of file interfacesetupimp.cpp. References OProcess::Block, error(), Interfaces::getInterfaceName(), Interface::getStatus(), Opie::Ui::OWait::hide(), interface, interfaces, QString::latin1(), OProcess::NoCommunication, odebug, oendl, owarn, qApp, Interface::refresh(), saveSettings(), Opie::Ui::OWait::show(), Opie::Core::OProcess::start(), Global::statusMessage(), tr, and Interfaces::write(). Referenced by WLANImp::accept(), InterfaceSetupImpDialog::accept(), and WLANImp::writeOpts(). |
|
|
Save the settings for the current Interface.
Definition at line 91 of file interfacesetupimp.cpp. References DNSSCRIPT, error(), Interfaces::getInterfaceMethod(), Interface::getInterfaceName(), interface, interfaces, INTERFACES_LOOPBACK, INTERFACES_METHOD_DHCP, Interfaces::isInterfaceSet(), Interfaces::removeInterfaceOption(), Interfaces::setAuto(), Interfaces::setInterfaceMethod(), and Interfaces::setInterfaceOption(). Referenced by saveChanges(). |
|
Definition at line 139 of file interfacesetupimp.cpp. References Interfaces::addInterface(), Interfaces::addMapping(), QString::contains(), Interfaces::copyInterface(), DNSSCRIPT, error(), QString::find(), Interfaces::getInterfaceMethod(), Interfaces::getInterfaceName(), Interface::getInterfaceName(), Interfaces::getInterfaceOption(), interface, interfaces, INTERFACES_FAMILY_INET, INTERFACES_METHOD_DHCP, Interfaces::isAuto(), QString::latin1(), QString::length(), QString::mid(), odebug, oendl, owarn, Interfaces::setInterface(), Interfaces::setMap(), Interfaces::setMapping(), and Interfaces::setScript(). Referenced by WLANImp::setProfile(), and InterfaceSetupImpDialog::setProfile(). |
|
|
Definition at line 32 of file interfacesetupimp.h. Referenced by InterfaceSetupImp(), and ~InterfaceSetupImp(). |
|
|
Definition at line 30 of file interfacesetupimp.h. Referenced by saveChanges(), saveSettings(), and setProfile(). |
|
|
Definition at line 29 of file interfacesetupimp.h. Referenced by InterfaceSetupImp(), saveChanges(), saveSettings(), setProfile(), and ~InterfaceSetupImp(). |
1.4.2