1QImageFormatPlugin(3qt)                                QImageFormatPlugin(3qt)
2
3
4

NAME

6       QImageFormatPlugin - Abstract base for custom image format plugins
7

SYNOPSIS

9       #include <qimageformatplugin.h>
10
11   Public Members
12       QImageFormatPlugin ()
13       ~QImageFormatPlugin ()
14       virtual QStringList keys () const = 0
15       virtual bool installIOHandler ( const QString & format ) = 0
16

DESCRIPTION

18       The QImageFormatPlugin class provides an abstract base for custom image
19       format plugins.
20
21       The image format plugin is a simple plugin interface that makes it easy
22       to create custom image formats that can be used transparently by
23       applications.
24
25       Writing an image format plugin is achieved by subclassing this base
26       class, reimplementing the pure virtual functions keys() and
27       installIOHandler(), and exporting the class with the Q_EXPORT_PLUGIN
28       macro. See the Plugins documentation for details.
29
30       See also Plugins.
31

MEMBER FUNCTION DOCUMENTATION

QImageFormatPlugin::QImageFormatPlugin ()

34       Constructs an image format plugin. This is invoked automatically by the
35       Q_EXPORT_PLUGIN macro.
36

QImageFormatPlugin::~QImageFormatPlugin ()

38       Destroys the image format plugin.
39
40       You never have to call this explicitly. Qt destroys a plugin
41       automatically when it is no longer used.
42

bool QImageFormatPlugin::installIOHandler ( const QString & format ) [pure

44       virtual]
45       Installs a QImageIO image I/O handler for the image format format.
46
47       See also keys().
48

QStringList QImageFormatPlugin::keys () const [pure virtual]

50       Returns the list of image formats this plugin supports.
51
52       See also installIOHandler().
53
54

SEE ALSO

56       http://doc.trolltech.com/qimageformatplugin.html
57       http://www.trolltech.com/faq/tech.html
58
60       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
61       license file included in the distribution for a complete license
62       statement.
63

AUTHOR

65       Generated automatically from the source code.
66

BUGS

68       If you find a bug in Qt, please report it as described in
69       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
70       help you. Thank you.
71
72       The definitive Qt documentation is provided in HTML format; it is
73       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
74       web browser. This man page is provided as a convenience for those users
75       who prefer man pages, although this format is not officially supported
76       by Trolltech.
77
78       If you find errors in this manual page, please report them to qt-
79       bugs@trolltech.com.  Please include the name of the manual page
80       (qimageformatplugin.3qt) and the Qt version (3.3.8).
81
82
83
84Trolltech AS                    2 February 2007        QImageFormatPlugin(3qt)
Impressum