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