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