#include <QtCore/qtextcodec.h> #ifndef QTEXTCODEC_H #ifndef QT_NO_TEXTCODEC class QTextDecoder{ /* Some contents are skipped to improve readability */ private: struct QTextCodec::ConverterState state; /* ... */ }; #endif // QT_NO_TEXTCODEC #endif // QTEXTCODEC_H