libkdepim

KPIM::CollectingProcess Class Reference

#include <collectingprocess.h>

List of all members.


Detailed Description

An output collecting KProcess class.

This class simplifies the usage of KProcess by collecting all output (stdout/stderr) of the process.

Author:
Ingo Kloecker <kloecker@kde.org>

Definition at line 49 of file collectingprocess.h.


Public Member Functions

 CollectingProcess (QObject *parent=0, const char *name=0)
bool start (RunMode runmode, Communication comm)
QByteArray collectedStdout ()
QByteArray collectedStderr ()

Protected Member Functions

void virtual_hook (int id, void *data)

Member Function Documentation

QByteArray KPIM::CollectingProcess::collectedStderr  ) 
 

Returns the contents of the stderr buffer and clears it afterwards.

QByteArray KPIM::CollectingProcess::collectedStdout  ) 
 

Returns the contents of the stdout buffer and clears it afterwards.

bool KPIM::CollectingProcess::start RunMode  runmode,
Communication  comm
 

Starts the process in NotifyOnExit mode and writes in to stdin of the process.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys