Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The QTextCodecPlugin class provides an abstract base for custom QTextCodec plugins. More...
All the functions in this class are reentrant when Qt is built with thread support.
#include <qtextcodecplugin.h>
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.
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 Q_EXPORT_PLUGIN macro. See the Qt Plugins documentation for details.
See the IANA character-sets encoding file for more information on mime names and mib enums.
See also Plugins.
You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.
Creates a QTextCodec object for the mib enum mib.
(See the IANA character-sets encoding file for more information)
See also mibEnums().
Creates a QTextCodec object for the codec called name.
See also names().
Returns the list of mib enums supported by this plugin.
See also createForMib().
Returns the list of mime names supported by this plugin.
See also createForName().
This file is part of the Qt toolkit. Copyright © 1995-2003 Trolltech. All Rights Reserved.
Copyright © 2003 Trolltech | Trademarks | Qt version 3.2.0b2
|