KMessageProcess Class Reference
Inheritance diagram for KMessageProcess:

Public Slots | |
void | slotReceivedStdout (KProcess *proc, char *buffer, int buflen) |
void | slotReceivedStderr (KProcess *proc, char *buffer, int buflen) |
void | slotProcessExited (KProcess *p) |
void | slotWroteStdin (KProcess *p) |
Public Member Functions | |
KMessageProcess (QObject *parent, QString file) | |
~KMessageProcess () | |
bool | isConnected () const |
void | send (const QByteArray &msg) |
void | writeToProcess () |
bool | isNetwork () const |
virtual int | rtti () const |
Detailed Description
Definition at line 348 of file kmessageio.h.
Member Function Documentation
|
This method returns the status of the object, whether it is already (or still) connected to another KMessageIO object or not. This is a pure virtual method, so it has to be implemented in a subclass of KMessageIO. Reimplemented from KMessageIO. Definition at line 264 of file kmessageio.cpp. |
|
This slot sends the data block in /e msg to the connected object, that will emit /e received(). For a concrete class, you have to subclass /e KMessageIO and overwrite this method. In the subclass, implement this method as an ordinary method, not as a slot! (Otherwise another slot would be defined. It would work, but uses more memory and time.) See /e KMessageSocket for an example implementation. Implements KMessageIO. Definition at line 270 of file kmessageio.cpp. References writeToProcess(). |
|
Reimplemented from KMessageIO. Definition at line 362 of file kmessageio.h. |
|
The runtime idendifcation.
Reimplemented from KMessageIO. Definition at line 367 of file kmessageio.h. |
The documentation for this class was generated from the following files: