#include <QtCore/qfile.h> #ifndef QFILE_H class QFile: public QIODevice{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_QOBJECT public: static struct QMetaObject const staticMetaObject; #endif /* ... */ }; #endif // QFILE_H