#include <QtCore/qtextstream.h> #ifndef QTEXTSTREAM_H class QTextStream{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_TEXTCODEC public: struct QTextCodec* codec() const #endif /* ... */ }; #endif // QTEXTSTREAM_H