KProcess Line Mode Patch

Oswald Buddenhagen ossi at
Tue Dec 2 10:50:22 GMT 2008

On Tue, Dec 02, 2008 at 10:00:26AM +0100, Ralf Habacker wrote:
> Oswald Buddenhagen schrieb:
>> On Mon, Dec 01, 2008 at 03:26:14PM +0100, Thiago Macieira wrote:
>>> What I'd recommend instead is a line-based reader that works on top of
>>> a plain QIODevice. That way, you can plug it on a QTcpSocket,
>>> QLocalSocket, QNetworkReply or KTcpSocket objects as well. (the
>>> finished() signal is replaced by the readChannelFinished() signal)
>>> This would have the issue, of course, that it doesn't handle a
>>> multi-channel device like QProcess.
>> yes, that's why i filed task 164632 ages ago (read the related thread).
> and which was rejected see  
now it isn't any more. mwahahaha
and there is the new task 237152 for the stream side.
no guarantees on this getting done short-term ...

> "This is really a bug report; QProcess shouldn't clear its buffer when  
> switching buffers. QIODevice doesn't need separate buffers to fix this.  
> QProcess already has a pending bug report for this."
> Unfortunally I did not find the related Qt bug report  searching for  
> "QProcess buffer", "QProcess clear", "QProcess channel"
task 161944 (it contained some misinformation, so it was impossible to

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Confusion, chaos, panic - my work here is done.

More information about the kde-core-devel mailing list