#include <QtCore/qdir.h> #ifndef QDIR_H class QDir{ /* Some contents are skipped to improve readability */ public: enum SortFlag{ /* ... */ DirsLast = 32, /* ... */ }; /* ... */ }; #endif // QDIR_H