[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Re: output redirection
From:       Per Edin <per.programmering () telia ! com>
Date:       2002-08-12 16:57:47
[Download RAW message or body]

________________ Reply Header ________________
Subject:	Re: output redirection
Author:	Kevin Krammer <kevin.krammer@gmx.at>
Date:		 Mon, 12 Aug 2002 15:22:59 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, 12. August 2002 13:17, hasanen wrote: > how can i redirect the output of \
something excuted using QProcess to a > buffer or something like that in my program \
??
> for example , when you excute lsmod from a QProcess you don't get any > output, how \
> can i rediret it ??

How about connecting the readyReadStdout signal to a slot and reading with readStdout \
there? Or check canReadLineStdout in that slot and if true use readLineStdout.

> I am curious, is it really easier to write an email and
> wait several hours than to have a quick look at Qt's
> docs?
Yeah, I did it too when I was a newbie.
It feels easier to click the send button and wait instead of looking up the docs and \
try to find a suitable page. :-)

Cheers,
Kevin

- -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/ \
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9V9LYnKMhG6pzZJIRAmC9AJ0Uwmbnzm339clxgEioHHAaR4C0zQCghlj+ \
C1UaXEZdj6Wa4ETi0EXG15s= =g1Zq
-----END PGP SIGNATURE-----

> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

--
Cheers, Per Edin.


> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic