#include <QtCore/qdir.h>
#ifndef QDIR_H
class QDir{
   /* Some contents are skipped to improve readability */
   protected: struct QDirPrivate* d_ptr;
   /* ... */
};
#endif // QDIR_H