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