qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] Qprocess - determining the state

Subject: Re: [Qt-interest] Qprocess - determining the state
From: Andre Haupt
Date: Fri, 4 Dec 2009 09:31:52 +0100
On Thu, Dec 03, 2009 at 12:03:55PM +1000, Phil wrote:
> Thank you for reading this.
> 
> I'm trying to determine the state of a QProcess. Neither of the following 
> attempts is correct. The first causes a compile error and the second results 
> in 
> a number that is not 0, 1 or 2.
> 
> ProcessState = myProcess->state();
> int x = myProcess->state();

QProcess::ProcessState state = myProcess->state();

regards,

Andre
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>