#include <QtCore/qfileinfo.h> #ifndef QFILEINFO_H class QFileInfo{ /* Some contents are skipped to improve readability */ protected: struct QFileInfoPrivate* d_ptr; /* ... */ }; #endif // QFILEINFO_H