#include <QtCore/qprocess.h> #ifndef QPROCESS_H #ifndef QT_NO_PROCESS class QProcess: public QIODevice{ /* Some contents are skipped to improve readability */ protected: void stateChanged(enum QProcess::ProcessState state); /* ... */ }; #endif // QT_NO_PROCESS #endif // QPROCESS_H