#include </home/clem/local/src/opie/noncore/settings/networksettings/ppp/pppmodule.h>
Inheritance diagram for PPPModule:


Signals | |
| void | updateInterface (Interface *i) |
Public Member Functions | |
| PPPModule () | |
| ~PPPModule () | |
| virtual const QString | type () |
| virtual void | setProfile (const QString &newProfile) |
| virtual bool | isOwner (Interface *) |
| virtual QWidget * | configure (Interface *i) |
| virtual QWidget * | information (Interface *i) |
| virtual QList< Interface > | getInterfaces () |
| virtual void | possibleNewInterfaces (QMap< QString, QString > &) |
| virtual Interface * | addNewInterface (const QString &name) |
| virtual bool | remove (Interface *i) |
| virtual QString | getPixmapName (Interface *i) |
| virtual void | receive (const QCString &, const QByteArray &) |
Private Attributes | |
| QList< Interface > | list |
| QString | profile |
|
|
Constructor, find all of the possible interfaces We also need to restore the state.. it could be that an interface was up while closing the application we need to be able to shut it down... Definition at line 57 of file pppmodule.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::contains(), QMap< Key, T >::end(), PPPData::getConfiguredInterfaces(), Module::handledInterfaceNames(), ifaces, list, odebug, oendl, Interface::refresh(), Module::setHandledInterfaceNames(), Interface::setHardwareName(), and Interface::setStatus(). |
|
|
Delete any interfaces that we own. Definition at line 92 of file pppmodule.cpp. References Interface::getHardwareName(), Interface::getInterfaceName(), Interface::getStatus(), i, ifaces, QMap< Key, T >::insert(), list, odebug, oendl, InterfacePPP::pppDev(), InterfacePPP::pppPID(), and PPPData::setConfiguredInterfaces(). |
|
|
Attempt to add a new interface as defined by name
Implements Module. Definition at line 184 of file pppmodule.cpp. References QPEApplication::execDialog(), list, NULL, and Interface::setModuleOwner(). |
|
|
Create, and return the WLANConfigure Module
Reimplemented from Module. Definition at line 145 of file pppmodule.cpp. References odebug, oendl, Qt::WDestructiveClose, and Qt::WStyle_ContextHelp. |
|
|
Get all active (up or down) interfaces
Implements Module. Definition at line 171 of file pppmodule.cpp. |
|
|
get the icon name for this device.
Implements Module. Definition at line 126 of file pppmodule.cpp. |
|
|
Create, and return the Information Module
Reimplemented from Module. Definition at line 158 of file pppmodule.cpp. |
|
|
Check to see if the interface i is owned by this module.
Reimplemented from Module. Definition at line 136 of file pppmodule.cpp. References list. |
|
|
Adds possible new interfaces to the list (Example: usb(ppp), ir(ppp), modem ppp) Both strings need to be translated. The first string is a Shortcut like PPP and the second argument is a description.
Implements Module. Definition at line 217 of file pppmodule.cpp. References tr. |
|
||||||||||||
|
get dcop calls Implements Module. Definition at line 25 of file pppmodule.h. |
|
|
Attempts to remove the interface, doesn't delete i
Implements Module. Definition at line 212 of file pppmodule.cpp. References list. |
|
|
Change the current profile Implements Module. Definition at line 116 of file pppmodule.cpp. References profile. |
|
|
The type of the plugin and the name of the qcop call Implements Module. Definition at line 15 of file pppmodule.h. |
|
|
Emit this Signal once you change the Interface you're operating on
Reimplemented from Module. |
|
|
Definition at line 25 of file pppmodule.h. Referenced by addNewInterface(), getInterfaces(), isOwner(), PPPModule(), remove(), and ~PPPModule(). |
|
|
Definition at line 29 of file pppmodule.h. Referenced by setProfile(). |
1.4.2