#include <QtCore/qstring.h> #ifndef QSTRING_H class QString{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_STL public: inline std::string toStdString() const #endif /* ... */ }; #endif // QSTRING_H