#include <QtCore/qregexp.h>
#ifndef QREGEXP_H
#ifndef QT_NO_REGEXP
class QRegExp{
   /* Some contents are skipped to improve readability */
   public: enum PatternSyntax{
      RegExp = 0,
      Wildcard = 1,
      FixedString = 2,
      RegExp2 = 3,
   };
   /* ... */
};
#endif // QT_NO_REGEXP
#endif // QREGEXP_H