InterfaceSetupImp Class Reference
A default implementation for setting up basic network config. More...
#include <interfacesetupimp.h>
Collaboration diagram for InterfaceSetupImp:

Public Slots | |
| void | setProfile (const QString &profile) |
| The Profile has changed. | |
| bool | saveSettings () |
| Save the settings for the current Interface. | |
Public Member Functions | |
| InterfaceSetupImp (QWidget *parent=0, const char *name=0, Interface *i=0, Interfaces *j=0, WFlags fl=0) | |
| Constuctor. | |
| ~InterfaceSetupImp () | |
| Destructor. | |
| bool | saveChanges () |
| Save the current settings, then write out the interfaces file and close. | |
Detailed Description
A default implementation for setting up basic network config.Like DHCP, IP and other information. You can use it in a tab or in any other way* On saveChanges() it'll save the changes to Interfaces.
Definition at line 16 of file interfacesetupimp.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||
|
Constuctor. Set up the connection. A profile must be set. Definition at line 25 of file interfacesetupimp.cpp. |
|
|
Destructor.
Definition at line 35 of file interfacesetupimp.cpp. |
Member Function Documentation
|
|
Save the current settings, then write out the interfaces file and close.
Definition at line 44 of file interfacesetupimp.cpp. References Interfaces::getInterfaceName(), Interface::getStatus(), OWait::hide(), QString::latin1(), Interface::refresh(), saveSettings(), OWait::show(), OProcess::start(), Global::statusMessage(), and Interfaces::write(). |
|
|
The Profile has changed.
Definition at line 136 of file interfacesetupimp.cpp. References Interfaces::addInterface(), Interfaces::addMapping(), QString::contains(), Interfaces::copyInterface(), QString::find(), Interfaces::getInterfaceMethod(), Interfaces::getInterfaceName(), Interface::getInterfaceName(), Interfaces::getInterfaceOption(), Interfaces::isAuto(), QString::latin1(), QString::length(), QString::mid(), Interfaces::setInterface(), Interfaces::setMap(), Interfaces::setMapping(), and Interfaces::setScript(). |
|
|
Save the settings for the current Interface.
Definition at line 88 of file interfacesetupimp.cpp. References Interfaces::getInterfaceMethod(), Interface::getInterfaceName(), QMessageBox::information(), Interfaces::isInterfaceSet(), Interfaces::removeInterfaceOption(), Interfaces::setAuto(), Interfaces::setInterfaceMethod(), and Interfaces::setInterfaceOption(). Referenced by saveChanges(). |
The documentation for this class was generated from the following files:
