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