console_reader

Developers Apps

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Use this abstract class when you want to interpretate the output of a KProcess line-by-line.

This class is useful when you want to read and interpretate the output of a command line program, and espacialy when you want to write a graphical frontend to a command line program.

This class has a protected member m_process of type KProcess which is used to start the external program. When you inherit from this class, you have to add some methods to set up and start this process. In m_process, stderr and stdout are merged. Don't read the output from m_process yourself. Instead, implement interpretate_console_output(QStringList& stringList) to process the output of m_process line-by-line.

Attention: It is expected that no 0x00 is contained in the output of m_process.
Be the first to comment
12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.1
updated May 15 2010
added May 15 2010
downloads today
0
page views today 2
System Tags app software