Q_PID QProcess::pid () const
Returns the native process identifier for the running process, if available. If no process is currently running, 0 is returned.
typedef Q_PID
Typedef for the identifiers used to represent processes on the underlying platform. On Unix and Symbian, this corresponds to qint64; on Windows, it corresponds to _PROCESS_INFORMATION*.