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