#include <QtCore/qdir.h> #ifndef QDIR_H class QDir{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_REGEXP public: static bool match(class QString const & filter, class QString const & fileName); #endif /* ... */ }; #endif // QDIR_H