#include <QtCore/qfile.h> #ifndef QFILE_H class QFile: public QIODevice{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_QOBJECT public: QFile(class QString const & name, class QObject* parent); #endif /* ... */ }; #endif // QFILE_H