#include </home/clem/local/src/opie/noncore/settings/networksettings/interfaces/interface.h>
Inheritance diagram for Interface:


Definition at line 16 of file interface.h.
|
||||||||||||||||
|
Definition at line 29 of file interface.cpp. References refresh(). |
|
|
Definition at line 76 of file interface.cpp. References Opie::Core::OProcess::Block, Opie::Core::OProcess::exitStatus(), Opie::Ui::OWait::hide(), Opie::Core::OProcess::NoCommunication, Opie::Core::OProcess::normalExit(), oendl, owarn, qApp, restart(), Opie::Ui::OWait::show(), Opie::Core::OProcess::start(), Global::statusMessage(), and tr. |
|
|
Definition at line 45 of file interface.h. References broadcast. Referenced by InterfaceInformationImp::advanced(), and InterfaceInformationImp::updateInterface(). |
|
|
Definition at line 47 of file interface.h. References dhcpServerIp. Referenced by InterfaceInformationImp::advanced(). |
|
|
Definition at line 35 of file interface.h. References hardwareName. Referenced by PPPConfigWidget::accept(), InterfacePPP::data(), KPPPWidget::KPPPWidget(), PPPConfigWidget::PPPConfigWidget(), and PPPModule::~PPPModule(). |
|
|
|
Definition at line 43 of file interface.h. References ip. Referenced by InterfaceInformationImp::advanced(), and InterfaceInformationImp::updateInterface(). |
|
|
Definition at line 49 of file interface.h. References leaseExpires. Referenced by InterfaceInformationImp::advanced(). |
|
|
Definition at line 48 of file interface.h. References leaseObtained. Referenced by InterfaceInformationImp::advanced(). |
|
|
Definition at line 42 of file interface.h. References macAddress. Referenced by InterfaceInformationImp::advanced(), and InterfaceInformationImp::updateInterface(). |
|
|
Definition at line 38 of file interface.h. References moduleOwner. Referenced by MainWindowImp::configureClicked(), MainWindowImp::informationClicked(), MainWindowImp::removeClicked(), and MainWindowImp::updateInterface(). |
|
|
Definition at line 29 of file interface.h. References status. Referenced by ConnectWidget::ConnectWidget(), ConnectWidget::refresh(), InterfaceSetupImp::saveChanges(), MainWindowImp::updateInterface(), InterfaceInformationImp::updateInterface(), and PPPModule::~PPPModule(). |
|
|
Definition at line 44 of file interface.h. References subnetMask. Referenced by InterfaceInformationImp::advanced(), and InterfaceInformationImp::updateInterface(). |
|
|
Definition at line 32 of file interface.h. References attached. Referenced by MainWindowImp::updateInterface(). |
|
|
Definition at line 46 of file interface.h. References dhcp. Referenced by InterfaceInformationImp::advanced(). |
|
|
Try to refresh the information about the interface. First call ifconfig, then check the dhcp-info file
Reimplemented in VirtualInterface, and InterfacePPP. Definition at line 161 of file interface.cpp. References QDateTime::addSecs(), broadcast, QString::contains(), QDateTime::currentDateTime(), d, dhcp, DHCP_INFO_DIR, dhcpServerIp, QTextStream::eof(), QFile::exists(), QDir::exists(), f, QString::find(), IFCONFIG, IO_ReadOnly, ip, QString::latin1(), leaseExpires, leaseObtained, QString::length(), macAddress, QString::mid(), odebug, oendl, QFile::open(), pid, QTextStream::readLine(), QFile::remove(), QTextStream::setDevice(), status, stream, subnetMask, t, QString::toInt(), QDateTime::toString(), and updateInterface(). Referenced by Interface(), PPPModule::PPPModule(), WLANModule::receive(), InterfacePPP::refresh(), VirtualInterface::refresh(), InterfaceSetupImp::saveChanges(), setStatus(), start(), and stop(). |
|
|
Try to restart the interface. Definition at line 151 of file interface.cpp. References start(), and stop(). Referenced by callProcess(), and WLANModule::receive(). |
|
|
Set if attached or not (802.11 card pulled out for example)
Definition at line 50 of file interface.cpp. References attached, and updateInterface(). Referenced by MainWindowImp::getAllInterfaces(), and MainWindowImp::MainWindowImp(). |
|
|
Set Hardware name
Definition at line 60 of file interface.cpp. References hardwareName, and updateInterface(). Referenced by PPPConfigWidget::accept(), MainWindowImp::getAllInterfaces(), WLANModule::isOwner(), MainWindowImp::MainWindowImp(), PPPModule::PPPModule(), and VirtualModule::VirtualModule(). |
|
|
Definition at line 27 of file interface.h. Referenced by PPPConfigWidget::accept(), InterfacePPP::refresh(), VirtualInterface::refresh(), and VirtualModule::VirtualModule(). |
|
|
Set Module owner
Definition at line 70 of file interface.cpp. References moduleOwner, and updateInterface(). Referenced by PPPModule::addNewInterface(), and MainWindowImp::updateInterface(). |
|
|
Set status
Definition at line 38 of file interface.cpp. References refresh(), and status. Referenced by MainWindowImp::getAllInterfaces(), ConnectWidget::if_waiting_slot(), PPPModule::PPPModule(), InterfacePPP::setPPPDpid(), VirtualInterface::start(), InterfacePPP::stop(), and VirtualInterface::stop(). |
|
|
Try to start the interface. Reimplemented in VirtualInterface, and InterfacePPP. Definition at line 102 of file interface.cpp. References callProcess(), IF_UP, name, refresh(), status, and updateMessage(). Referenced by WLANModule::receive(), and restart(). |
|
|
Try to stop the interface. Reimplemented in VirtualInterface, and InterfacePPP. Definition at line 126 of file interface.cpp. References callProcess(), IF_DOWN, name, refresh(), status, and updateMessage(). Referenced by WLANModule::receive(), and restart(). |
|
|
Referenced by InterfacePPP::refresh(), refresh(), VirtualInterface::refresh(), InterfacePPP::save(), setAttached(), setHardwareName(), and setModuleOwner(). |
|
|
Referenced by start(), VirtualInterface::start(), stop(), and VirtualInterface::stop(). |
|
|
Definition at line 63 of file interface.h. Referenced by isAttached(), and setAttached(). |
|
|
Definition at line 73 of file interface.h. Referenced by getBroadcast(), and refresh(). |
|
|
Definition at line 66 of file interface.h. |
|
|
Definition at line 67 of file interface.h. Referenced by getDhcpServerIp(), and refresh(). |
|
|
Definition at line 60 of file interface.h. Referenced by getHardwareName(), and setHardwareName(). |
|
|
Definition at line 72 of file interface.h. |
|
|
Definition at line 69 of file interface.h. Referenced by getLeaseExpires(), and refresh(). |
|
|
Definition at line 68 of file interface.h. Referenced by getLeaseObtained(), and refresh(). |
|
|
Definition at line 71 of file interface.h. Referenced by getMacAddress(), and refresh(). |
|
|
Definition at line 61 of file interface.h. Referenced by getModuleOwner(), and setModuleOwner(). |
|
|
Definition at line 62 of file interface.h. Referenced by getStatus(), refresh(), setStatus(), start(), InterfacePPP::stop(), and stop(). |
|
|
Definition at line 74 of file interface.h. Referenced by getSubnetMask(), and refresh(). |
1.4.2