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