#include <QtCore/qstring.h> #ifndef QSTRING_H class QString{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_REGEXP public: int lastIndexOf(struct QRegExp const &, int from = -1) const #endif /* ... */ }; #endif // QSTRING_H