source: trunk/doc/html/qimageformatplugin.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qimageformatplugin.cpp:41 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QImageFormatPlugin Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QImageFormatPlugin Class Reference</h1>
33
34<p>The QImageFormatPlugin class provides an abstract base for custom image format plugins.
35<a href="#details">More...</a>
36<p><tt>#include &lt;<a href="qimageformatplugin-h.html">qimageformatplugin.h</a>&gt;</tt>
37<p><a href="qimageformatplugin-members.html">List of all member functions.</a>
38<h2>Public Members</h2>
39<ul>
40<li class=fn><a href="#QImageFormatPlugin"><b>QImageFormatPlugin</b></a> ()</li>
41<li class=fn><a href="#~QImageFormatPlugin"><b>~QImageFormatPlugin</b></a> ()</li>
42<li class=fn>virtual QStringList <a href="#keys"><b>keys</b></a> () const = 0</li>
43<li class=fn>virtual bool <a href="#installIOHandler"><b>installIOHandler</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;format ) = 0</li>
44</ul>
45<hr><a name="details"></a><h2>Detailed Description</h2>
46
47
48The QImageFormatPlugin class provides an abstract base for custom image format plugins.
49<p>
50<p> The image format plugin is a simple plugin interface that makes
51it easy to create custom image formats that can be used
52transparently by applications.
53<p> Writing an image format plugin is achieved by subclassing this
54base class, reimplementing the pure virtual functions <a href="#keys">keys</a>() and
55<a href="#installIOHandler">installIOHandler</a>(), and exporting the class with the
56Q_EXPORT_PLUGIN macro. See the <a href="plugins-howto.html">Plugins
57 documentation</a> for details.
58<p>See also <a href="plugins.html">Plugins</a>.
59
60<hr><h2>Member Function Documentation</h2>
61<h3 class=fn><a name="QImageFormatPlugin"></a>QImageFormatPlugin::QImageFormatPlugin ()
62</h3>
63Constructs an image format plugin. This is invoked automatically
64by the Q_EXPORT_PLUGIN macro.
65
66<h3 class=fn><a name="~QImageFormatPlugin"></a>QImageFormatPlugin::~QImageFormatPlugin ()
67</h3>
68Destroys the image format plugin.
69<p> You never have to call this explicitly. Qt destroys a plugin
70automatically when it is no longer used.
71
72<h3 class=fn>bool <a name="installIOHandler"></a>QImageFormatPlugin::installIOHandler ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;format )<tt> [pure virtual]</tt>
73</h3>
74
75<p> Installs a <a href="qimageio.html">QImageIO</a> image I/O handler for the image format <em>format</em>.
76<p> <p>See also <a href="#keys">keys</a>().
77
78<h3 class=fn><a href="qstringlist.html">QStringList</a> <a name="keys"></a>QImageFormatPlugin::keys () const<tt> [pure virtual]</tt>
79</h3>
80
81<p> Returns the list of image formats this plugin supports.
82<p> <p>See also <a href="#installIOHandler">installIOHandler</a>().
83
84<!-- eof -->
85<hr><p>
86This file is part of the <a href="index.html">Qt toolkit</a>.
87Copyright &copy; 1995-2007
88<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
89<table width=100% cellspacing=0 border=0><tr>
90<td>Copyright &copy; 2007
91<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
92<td align=right><div align=right>Qt 3.3.8</div>
93</table></div></address></body>
94</html>
Note: See TracBrowser for help on using the repository browser.