#include <QtCore/qtextstream.h> #ifndef QTEXTSTREAM_H class QTextStream{ /* Some contents are skipped to improve readability */ public: class QString read(qint64 maxlen); /* ... */ }; #endif // QTEXTSTREAM_H