The QTextCodecPlugin class provides an abstract base for custom QTextCodec plugins.
QTextCodec * createForMib(int)
Creates a QTextCodec object for the mib enum mib.
Q_EXPORT_PLUGIN2(qjpcodecs, JPTextCodecs)
Q_EXPORT_STATIC_PLUGIN(JPTextCodecs)
QTextCodec * createForName(const QByteArray &)
Creates a QTextCodec object for the codec called name.
QList< QByteArray > names() const
Returns the list of MIME names supported by this plugin.
QList< int > mibEnums() const
Returns the list of mib enums supported by this plugin.
The QTextCodec class provides conversions between text encodings.
QList< QByteArray > aliases() const
Returns the list of aliases supported by this plugin.