#include <QtCore/qfile.h> #ifndef QFILE_H class QFile: public QIODevice{ /* Some contents are skipped to improve readability */ #ifdef QT_NO_QOBJECT #else protected: QFile(struct QFilePrivate& dd, class QObject* parent = 0); #endif /* ... */ }; #endif // QFILE_H