Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MyProcess Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/networksettings2/system.h>

Collaboration diagram for MyProcess:

Collaboration graph
[legend]
List of all members.

Public Slots

void SLOT_Stdout (Opie::Core::OProcess *P, char *, int)
void SLOT_Stderr (Opie::Core::OProcess *P, char *, int)
void SLOT_ProcessExited (Opie::Core::OProcess *P)

Signals

void stdoutLine (const QString &)
void stderrLine (const QString &)
void processExited (MyProcess *)

Public Member Functions

 MyProcess ()
 ~MyProcess ()
OProcessprocess ()
void setEchoMode (bool M)

Private Attributes

QString StdoutBuffer
QString StderrBuffer
OProcessP
bool EchoMode

Constructor & Destructor Documentation

MyProcess::MyProcess  ) 
 

Definition at line 540 of file system.cpp.

References OProcess, P, processExited(), SLOT_ProcessExited(), SLOT_Stderr(), and SLOT_Stdout().

MyProcess::~MyProcess  ) 
 

Definition at line 557 of file system.cpp.

References P.


Member Function Documentation

OProcess& MyProcess::process  )  [inline]
 

Definition at line 29 of file system.h.

References P.

Referenced by System::execAsUser(), System::runAsRoot(), System::SLOT_ProcessExited(), and Opietooth2::OTSniffing::SLOT_Trace().

void MyProcess::processExited MyProcess  )  [signal]
 

Referenced by MyProcess(), and SLOT_ProcessExited().

void MyProcess::setEchoMode bool  M  )  [inline]
 

Definition at line 32 of file system.h.

References EchoMode.

Referenced by System::execAsUser().

void MyProcess::SLOT_ProcessExited Opie::Core::OProcess P  )  [slot]
 

Definition at line 613 of file system.cpp.

References processExited().

Referenced by MyProcess().

void MyProcess::SLOT_Stderr Opie::Core::OProcess P,
char *  ,
int 
[slot]
 

Definition at line 587 of file system.cpp.

References QValueList< T >::count(), EchoMode, i, Log, odebug, oendl, QStringList::split(), StderrBuffer, stderrLine(), TRUE, and write().

Referenced by MyProcess().

void MyProcess::SLOT_Stdout Opie::Core::OProcess P,
char *  ,
int 
[slot]
 

Definition at line 561 of file system.cpp.

References QValueList< T >::count(), EchoMode, i, Log, odebug, oendl, QStringList::split(), StdoutBuffer, stdoutLine(), TRUE, and write().

Referenced by MyProcess().

void MyProcess::stderrLine const QString  )  [signal]
 

Referenced by SLOT_Stderr().

void MyProcess::stdoutLine const QString  )  [signal]
 

Referenced by SLOT_Stdout().


Member Data Documentation

bool MyProcess::EchoMode [private]
 

Definition at line 54 of file system.h.

Referenced by setEchoMode(), SLOT_Stderr(), and SLOT_Stdout().

OProcess* MyProcess::P [private]
 

Definition at line 52 of file system.h.

Referenced by MyProcess(), process(), and ~MyProcess().

QString MyProcess::StderrBuffer [private]
 

Definition at line 51 of file system.h.

Referenced by SLOT_Stderr().

QString MyProcess::StdoutBuffer [private]
 

Definition at line 50 of file system.h.

Referenced by SLOT_Stdout().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:41:01 2005 for OPIE by  doxygen 1.4.2