#include </home/clem/local/src/opie/noncore/settings/networksettings2/networksettings2/system.h>
Collaboration diagram for System:

Signals | |
| void | stdoutLine (const QString &) |
| void | stderrLine (const QString &) |
| void | processEvent (const QString &) |
Public Member Functions | |
| System (void) | |
| ~System (void) | |
| QDict< InterfaceInfo > & | interfaces (void) |
| InterfaceInfo * | interface (const QString &N) |
| int | runAsRoot (QStringList &S, MyProcess *Prc=0) |
| int | execAsUser (QStringList &Cmd, bool Synchronous=0) |
| void | refreshStatistics (InterfaceInfo &) |
| void | probeInterfaces (void) |
| InterfaceInfo * | findInterface (const QString &DevName) |
Private Slots | |
| void | SLOT_ProcessExited (MyProcess *) |
Private Attributes | |
| QDict< InterfaceInfo > | ProbedInterfaces |
| FILE * | OutputOfCmd |
| QFile * | ProcDevNet |
|
|
Definition at line 46 of file system.cpp. References ProcDevNet. |
|
|
Definition at line 50 of file system.cpp. References ProcDevNet. |
|
||||||||||||
|
Definition at line 122 of file system.cpp. References OProcess::AllOutput, OProcess::Block, OProcess::DontCare, CurrentQPEUser::EnvList, CurrentQPEUser::Gid, i, QString::isEmpty(), QString::latin1(), Log, OProcess::NoCommunication, NSResources, P, MyProcess::process(), processEvent(), MyProcess::setEchoMode(), QStringList::split(), tr, CurrentQPEUser::Uid, CurrentQPEUser::UserName, and X. |
|
|
Definition at line 466 of file system.cpp. References QDictIterator< type >::current(), InterfaceInfo::Name, and ProbedInterfaces. Referenced by BluetoothBNEPRun::hasFreePANNetworkSetup(). |
|
|
Definition at line 109 of file system.h. References interfaces(). |
|
|
Definition at line 55 of file system.cpp. References QDict< type >::count(), ProbedInterfaces, and probeInterfaces(). Referenced by WLanRun::detectState(), USBRun::detectState(), LanCardRun::detectState(), WLanRun::getInterface(), USBRun::getInterface(), LanCardRun::getInterface(), interface(), PPPRun::isMyPPPUp(), LanCardEdit::SLOT_RemoveUnknown(), and LanCardEdit::SLOT_ScanCards(). |
|
|
Definition at line 274 of file system.cpp. References ARPHRD_IEEE80211, QDictIterator< type >::current(), QDict< type >::find(), QString::find(), HN, QDict< type >::insert(), IO_ReadOnly, QString::latin1(), QString::left(), LN, loc, Log, QString::null, odebug, oendl, QFile::open(), ProbedInterfaces, ProcDevNet, PROCNETDEV, and QTextStream::readLine(). Referenced by interfaces(), and LanCardEdit::SLOT_RemoveUnknown(). |
|
|
Referenced by execAsUser(), runAsRoot(), and SLOT_ProcessExited(). |
|
|
||||||||||||
|
Definition at line 62 of file system.cpp. References OProcess::AllOutput, QValueList< T >::count(), OProcess::DontCare, QStringList::join(), Log, odebug, oendl, P, QValueList< T >::prepend(), MyProcess::process(), processEvent(), SLOT_ProcessExited(), stderrLine(), stdoutLine(), and tr. Referenced by BluetoothRFCOMMRun::setMyState(). |
|
|
Definition at line 174 of file system.cpp. References MyProcess::process(), and processEvent(). Referenced by runAsRoot(). |
|
|
Referenced by runAsRoot(). |
|
|
Referenced by runAsRoot(). |
|
|
|
|
|
Definition at line 138 of file system.h. Referenced by findInterface(), interfaces(), and probeInterfaces(). |
|
|
Definition at line 140 of file system.h. Referenced by probeInterfaces(), refreshStatistics(), System(), and ~System(). |
1.4.2