#include <QtCore/qprocess.h>
#ifndef QPROCESS_H
#ifndef QT_NO_PROCESS
class QProcess: public QIODevice{
   /* Some contents are skipped to improve readability */
   public: enum ProcessState{
      NotRunning = 0,
      Starting = 1,
      Running = 2,
   };
   /* ... */
};
#endif // QT_NO_PROCESS
#endif // QPROCESS_H