Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QImageFormatPlugin class provides an abstract base for custom image format plugins. More...
#include <QImageFormatPlugin>
Inherits QObject.
The QImageFormatPlugin class provides an abstract base for custom image format plugins.
The image format plugin is a simple plugin interface that makes it easy to create custom image formats that can be used transparently by applications.
Writing an image format plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and installIOHandler(), and exporting the class with the Q_EXPORT_PLUGIN macro. See the Plugins documentation for details.
Constructs an image format plugin with the given parent. This is invoked automatically by the Q_EXPORT_PLUGIN macro.
Destroys the image format plugin.
You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.
Installs a QImageIO image I/O handler for the image format format.
Reimplemented from QImageFormatInterface.
See also keys().
Returns the list of image formats this plugin supports.
Reimplemented from QFactoryInterface.
See also installIOHandler().
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp2 |