From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/qtextcodecplugin.html | 114 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 doc/html/qtextcodecplugin.html (limited to 'doc/html/qtextcodecplugin.html') diff --git a/doc/html/qtextcodecplugin.html b/doc/html/qtextcodecplugin.html new file mode 100644 index 0000000..4b8c1e8 --- /dev/null +++ b/doc/html/qtextcodecplugin.html @@ -0,0 +1,114 @@ + + + + + +QTextCodecPlugin Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

QTextCodecPlugin Class Reference

+ +

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> +

List of all member functions. +

Public Members

+ +

Detailed Description

+ + +The QTextCodecPlugin class provides an abstract base for custom QTextCodec plugins. + + +

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. + +


Member Function Documentation

+

QTextCodecPlugin::QTextCodecPlugin () +

+Constructs a text codec plugin. This is invoked automatically by +the Q_EXPORT_PLUGIN macro. + +

QTextCodecPlugin::~QTextCodecPlugin () +

+Destroys the text codec plugin. +

You never have to call this explicitly. Qt destroys a plugin +automatically when it is no longer used. + +

QTextCodec * QTextCodecPlugin::createForMib ( int mib ) [pure virtual] +

+ +

Creates a QTextCodec object for the mib enum mib. +

(See the + IANA character-sets encoding file for more information) +

See also mibEnums(). + +

QTextCodec * QTextCodecPlugin::createForName ( const QString & name ) [pure virtual] +

+ +

Creates a QTextCodec object for the codec called name. +

See also names(). + +

QValueList<int> QTextCodecPlugin::mibEnums () const [pure virtual] +

+ +

Returns the list of mib enums supported by this plugin. +

See also createForMib(). + +

QStringList QTextCodecPlugin::names () const [pure virtual] +

+ +

Returns the list of mime names supported by this plugin. +

See also createForName(). + + +


+This file is part of the Qt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.1