#include <QtCore/qregexp.h>
#ifndef QREGEXP_H
#ifndef QT_NO_REGEXP
class QRegExp{
   /* Some contents are skipped to improve readability */
   public: void setPatternSyntax(enum QRegExp::PatternSyntax syntax);
   /* ... */
};
#endif // QT_NO_REGEXP
#endif // QREGEXP_H