#include </home/clem/local/src/opie/libopie2/opienet/onetwork.h>
Collaboration diagram for Opie::Net::ONetwork:

Public Types | |
| typedef QDict< ONetworkInterface > | InterfaceMap |
| typedef QDictIterator< ONetworkInterface > | InterfaceIterator |
Public Member Functions | |
| int | count () const |
| InterfaceIterator | iterator () const |
| bool | isPresent (const char *interface) const |
| bool | isWirelessInterface (const char *interface) const |
| ONetworkInterface * | interface (const QString &interface) const |
| void | synchronize () |
Static Public Member Functions | |
| static ONetwork * | instance () |
| static short | wirelessExtensionCompileVersion () |
Protected Member Functions | |
| ONetwork () | |
Private Attributes | |
| InterfaceMap | _interfaces |
| Private * | d |
Static Private Attributes | |
| static ONetwork * | _instance = 0 |
This class provides access to all available network interfaces of your computer.
Definition at line 71 of file onetwork.h.
|
|
Definition at line 77 of file onetwork.h. |
|
|
Definition at line 73 of file onetwork.h. |
|
|
Definition at line 77 of file onetwork.cpp. References odebug, oendl, and synchronize(). Referenced by instance(). |
|
|
Definition at line 132 of file onetwork.cpp. References _interfaces, and QDict< type >::count(). |
|
|
Definition at line 144 of file onetwork.cpp. References _instance, and ONetwork(). Referenced by NetworkAppletControl::build(), WirelessApplet::checkInterface(), IfaceIPAddress::IfaceIPAddress(), IfaceUpDownButton::IfaceUpDownButton(), main(), WLANImp::rescanNeighbourhood(), Stumbler::setIface(), NetworkAppletControl::sizeHint(), Stumbler::start(), Stumbler::Stumbler(), WirelessApplet::timerEvent(), and WellenreiterConfigWindow::WellenreiterConfigWindow(). |
|
|
Definition at line 138 of file onetwork.cpp. References _interfaces. Referenced by Wellenreiter::startClicked(), and Wellenreiter::Wellenreiter(). |
|
|
Definition at line 157 of file onetwork.cpp. Referenced by Wellenreiter::startClicked(). |
|
|
Definition at line 168 of file onetwork.cpp. Referenced by synchronize(). |
|
|
Definition at line 151 of file onetwork.cpp. References _interfaces. Referenced by WirelessApplet::checkInterface(), main(), and Wellenreiter::Wellenreiter(). |
|
|
For internal use only. Rebuild the internal interface database
Definition at line 84 of file onetwork.cpp. References _interfaces, QTextStream::atEnd(), QDict< type >::clear(), f, QDict< type >::insert(), IO_ReadOnly, isWirelessInterface(), odebug, oendl, QFile::open(), QTextStream::readLine(), s, str, and QString::truncate(). Referenced by WirelessApplet::checkInterface(), and ONetwork(). |
|
|
Definition at line 126 of file onetwork.cpp. |
|
|
Definition at line 75 of file onetwork.cpp. Referenced by instance(). |
|
|
Definition at line 121 of file onetwork.h. Referenced by count(), interface(), iterator(), and synchronize(). |
|
|
Definition at line 122 of file onetwork.h. |
1.4.2