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