#include </home/clem/local/src/opie/examples/networksettings/examplemodule.h>
Inheritance diagram for VirtualModule:


Signals | |
| void | updateInterface (Interface *i) |
Public Member Functions | |
| VirtualModule () | |
| ~VirtualModule () | |
| const QString | type () |
| void | setProfile (const QString &) |
| bool | isOwner (Interface *) |
| QWidget * | configure (Interface *) |
| QWidget * | information (Interface *) |
| QList< Interface > | getInterfaces () |
| void | possibleNewInterfaces (QMap< QString, QString > &) |
| Interface * | addNewInterface (const QString &) |
| bool | remove (Interface *iface) |
| QString | getPixmapName (Interface *) |
| void | receive (const QCString &msg, const QByteArray &ar) |
Private Attributes | |
| QList< Interface > | m_interfaces |
|
|
Definition at line 12 of file examplemodule.cpp. References m_interfaces, Interface::setHardwareName(), and Interface::setInterfaceName(). |
|
|
Definition at line 25 of file examplemodule.cpp. References m_interfaces. |
|
|
Attempts to create a new interface from name you gave possibleNewInterfaces()
Implements Module. Definition at line 58 of file examplemodule.cpp. |
|
|
Create and return the Configure Module
Reimplemented from Module. Definition at line 39 of file examplemodule.cpp. References l. |
|
|
Get all active (up or down) interfaces managed by this module. At the end of initialisation you will be asked to return your interfaces Return all of your interfaces even the ones you claimed by isOnwer. Here you can also return your 'virtual' Interface Objects
Implements Module. Definition at line 48 of file examplemodule.cpp. References m_interfaces. |
|
|
get the icon name for this device.
Implements Module. Definition at line 24 of file examplemodule.h. References QString::fromLatin1(). |
|
|
Create, and return the Information Module. An default Implementation is InterfaceInformationImp
Reimplemented from Module. Definition at line 44 of file examplemodule.cpp. |
|
|
Check to see if the interface i is owned by this module. See if you can handle it. And if you can claim ownership by returning true. For physical devices you will be asked if you want to own the device. But you can also create new
Reimplemented from Module. Definition at line 34 of file examplemodule.cpp. References m_interfaces. |
|
|
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 52 of file examplemodule.cpp. References QMap< Key, T >::insert(), and tr. |
|
||||||||||||
|
get dcop calls Implements Module. Definition at line 25 of file examplemodule.h. |
|
|
Attempts to remove the interface, doesn't delete i
Implements Module. Definition at line 72 of file examplemodule.cpp. |
|
|
The current profile has been changed and the module should do any neccesary changes also. As of Opie1.0 profiles are disabled.
Implements Module. Definition at line 16 of file examplemodule.h. |
|
|
The type of the plugin and the name of the qcop call Implements Module. Definition at line 15 of file examplemodule.h. References QString::fromLatin1(). |
|
|
Emit this Signal once you change the Interface you're operating on
Reimplemented from Module. |
|
|
Definition at line 27 of file examplemodule.h. Referenced by getInterfaces(), isOwner(), VirtualModule(), and ~VirtualModule(). |
1.4.2