3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/3rdparty/webkit/WebKit/qt/Api/qwebpluginfactory.cpp -->
5
<!-- qwebpluginfactory.cpp -->
7
<title>Qt 4.5: MimeType Class Reference</title>
7
<title>Qt 4.6: MimeType Class Reference</title>
8
8
<link href="classic.css" rel="stylesheet" type="text/css" />
11
<a name="//apple_ref/cpp/cl/QWebPluginFactory/MimeType" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="namespaces.html"><font color="#004faf">All Namespaces</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">MimeType Class Reference<br /><span class="small-subtitle">(QWebPluginFactory::MimeType)<br />[<a href="qtwebkit.html">QtWebKit</a> module]</span>
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
15
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
16
</tr></table><h1 class="title">MimeType Class Reference<br /><span class="small-subtitle">(QWebPluginFactory::MimeType)<br />[<a href="qtwebkit.html">QtWebKit</a> module]</span>
17
18
<p>The QWebPluginFactory::MimeType structure describes a mime type supported by a plugin. <a href="#details">More...</a></p>
18
<pre> #include <<a href="qwebpluginfactory.html">QWebPluginFactory</a>></pre><p>This class was introduced in Qt 4.4.</p>
19
<pre> #include <<a href="qwebpluginfactory.html">QWebPluginFactory</a>></pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
20
<p>This class was introduced in Qt 4.4.</p>
20
22
<li><a href="qwebpluginfactory-mimetype-members.html">List of all members, including inherited members</a></li>
25
<a name="public-functions"></a>
26
<h2>Public Functions</h2>
27
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
28
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebpluginfactory-mimetype.html#operator-not-eq">operator!=</a></b> ( const MimeType & <i>other</i> ) const</td></tr>
29
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebpluginfactory-mimetype.html#operator-eq-eq">operator==</a></b> ( const MimeType & <i>other</i> ) const</td></tr>
22
32
<a name="public-variables"></a>
23
<h3>Public Variables</h3>
25
<li><div class="fn"></div>QString <b><a href="qwebpluginfactory-mimetype.html#description-var">description</a></b></li>
26
<li><div class="fn"></div>QStringList <b><a href="qwebpluginfactory-mimetype.html#fileExtensions-var">fileExtensions</a></b></li>
27
<li><div class="fn"></div>QString <b><a href="qwebpluginfactory-mimetype.html#name-var">name</a></b></li>
33
<h2>Public Variables</h2>
34
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
35
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qwebpluginfactory-mimetype.html#description-var">description</a></b></td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top">QStringList </td><td class="memItemRight" valign="bottom"><b><a href="qwebpluginfactory-mimetype.html#fileExtensions-var">fileExtensions</a></b></td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qwebpluginfactory-mimetype.html#name-var">name</a></b></td></tr>
29
39
<a name="details"></a>
31
41
<h2>Detailed Description</h2>
32
42
<p>The QWebPluginFactory::MimeType structure describes a mime type supported by a plugin.</p>
44
<h2>Member Function Documentation</h2>
45
<a name="//apple_ref/cpp/instm/QWebPluginFactory::MimeType/operator!=" />
46
<h3 class="fn"><a name="operator-not-eq"></a>bool MimeType::operator!= ( const MimeType & <i>other</i> ) const</h3>
47
<p>Returns true if this mimetype is different from the <i>other</i> mime type.</p>
48
<a name="//apple_ref/cpp/instm/QWebPluginFactory::MimeType/operator==" />
49
<h3 class="fn"><a name="operator-eq-eq"></a>bool MimeType::operator== ( const MimeType & <i>other</i> ) const</h3>
50
<p>Returns true if this mimetype is the same as the <i>other</i> mime type.</p>
34
52
<h2>Member Variable Documentation</h2>
53
<a name="//apple_ref/cpp/data/QWebPluginFactory::MimeType/description" />
35
54
<h3 class="fn"><a name="description-var"></a><a href="qstring.html">QString</a> MimeType::description</h3>
36
55
<p>The description of the mime type.</p>
56
<a name="//apple_ref/cpp/data/QWebPluginFactory::MimeType/fileExtensions" />
37
57
<h3 class="fn"><a name="fileExtensions-var"></a><a href="qstringlist.html">QStringList</a> MimeType::fileExtensions</h3>
38
58
<p>The list of file extensions that are used by this mime type.</p>
39
59
<p>For example, a mime type for PDF documents would return "pdf" as its file extension.</p>
60
<a name="//apple_ref/cpp/data/QWebPluginFactory::MimeType/name" />
40
61
<h3 class="fn"><a name="name-var"></a><a href="qstring.html">QString</a> MimeType::name</h3>
41
62
<p>The full name of the MIME type; e.g., <tt>text/plain</tt> or <tt>image/png</tt>.</p>
42
63
<p /><address><hr /><div align="center">
43
64
<table width="100%" cellspacing="0" border="0"><tr class="address">
44
<td width="30%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
45
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
46
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
47
</tr></table></div></address></body>
65
<td width="40%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
66
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
67
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
68
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>