The QTextCodecPlugin class provides an abstract base for custom QTextCodec plugins.
.PP
The text codec plugin is a simple plugin interface that makes it easy to create custom text codecs that can be loaded dynamically into applications.
.PP
Writing a text codec plugin is achieved by subclassing this base class, reimplementing the pure virtual functions names(), createForName(), mibEnums() and createForMib(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. See the Qt Plugins documentation for details.
.PP
See the IANA character-sets encoding file for more information on mime names and mib enums.
.PP
See also Plugins.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QTextCodecPlugin::QTextCodecPlugin ()"
Constructs a text codec plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro.
.SH "QTextCodecPlugin::~QTextCodecPlugin ()"
Destroys the text codec plugin.
.PP
You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.
.SH "QTextCodec * QTextCodecPlugin::createForMib ( int mib )\fC [pure virtual]\fR"
Creates a QTextCodec object for the mib enum \fImib\fR.
.PP
(See the IANA character-sets encoding file for more information)