KDE PIM / Developers / API Docs / libkdepim

KPIM::CollectingProcess Class Reference

An output collecting KProcess class. More...

#include <collectingprocess.h>

Inherits KProcess.

List of all members.

Public Member Functions

Protected Member Functions


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>


Member Function Documentation

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

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

QByteArray KPIM::CollectingProcess::collectedStdout  ) 
 

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

QByteArray KPIM::CollectingProcess::collectedStderr  ) 
 

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


The documentation for this class was generated from the following file: