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