#include <QtCore/qstring.h> #ifndef QSTRING_H class QString{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_REGEXP public: class QString& replace(struct QRegExp const & rx, class QString const & after); #endif /* ... */ }; #endif // QSTRING_H