Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > d5e62c01ae8d1e579463c6a871dd44bf > files > 581

qtbase5-doc-5.12.6-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qmimedatabase.cpp -->
  <title>QMimeDatabase Class | Qt Core 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtcore-index.html">Qt Core</a></td><td ><a href="qtcore-module.html">C++ Classes</a></td><td >QMimeDatabase</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtcore-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QMimeDatabase Class</h1>
<!-- $$$QMimeDatabase-brief -->
<p>The <a href="qmimedatabase.html">QMimeDatabase</a> class maintains a database of MIME types. <a href="#details">More...</a></p>
<!-- @@@QMimeDatabase -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QMimeDatabase&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += core</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.0</td></tr></table></div><ul>
<li><a href="qmimedatabase-members.html">List of all members, including inherited members</a></li>
</ul>
<p><b>Note:</b> All functions in this class are thread-safe.</p>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#MatchMode-enum">MatchMode</a></b> { MatchDefault, MatchExtension, MatchContent }</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#QMimeDatabase">QMimeDatabase</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#dtor.QMimeDatabase">~QMimeDatabase</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QMimeType&gt; </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#allMimeTypes">allMimeTypes</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForData">mimeTypeForData</a></b>(const QByteArray &amp;<i>data</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForData-1">mimeTypeForData</a></b>(QIODevice *<i>device</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForFile">mimeTypeForFile</a></b>(const QFileInfo &amp;<i>fileInfo</i>, QMimeDatabase::MatchMode <i>mode</i> = MatchDefault) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForFile-1">mimeTypeForFile</a></b>(const QString &amp;<i>fileName</i>, QMimeDatabase::MatchMode <i>mode</i> = MatchDefault) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForFileNameAndData">mimeTypeForFileNameAndData</a></b>(const QString &amp;<i>fileName</i>, QIODevice *<i>device</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForFileNameAndData-1">mimeTypeForFileNameAndData</a></b>(const QString &amp;<i>fileName</i>, const QByteArray &amp;<i>data</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForName">mimeTypeForName</a></b>(const QString &amp;<i>nameOrAlias</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMimeType </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypeForUrl">mimeTypeForUrl</a></b>(const QUrl &amp;<i>url</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QMimeType&gt; </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#mimeTypesForFileName">mimeTypesForFileName</a></b>(const QString &amp;<i>fileName</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qmimedatabase.html#suffixForFileName">suffixForFileName</a></b>(const QString &amp;<i>fileName</i>) const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QMimeDatabase-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qmimedatabase.html">QMimeDatabase</a> class maintains a database of MIME types.</p>
<p>The MIME type database is provided by the freedesktop.org shared-mime-info project. If the MIME type database cannot be found on the system, as is the case on most Windows, macOS, and iOS systems, Qt will use its own copy of it.</p>
<p>Applications which want to define custom MIME types need to install an XML file into the locations searched for MIME definitions. These locations can be queried with</p>
<pre class="cpp">

  <span class="type"><a href="qstandardpaths.html">QStandardPaths</a></span><span class="operator">::</span>locateAll(<span class="type"><a href="qstandardpaths.html">QStandardPaths</a></span><span class="operator">::</span>GenericDataLocation<span class="operator">,</span> QLatin1String(<span class="string">&quot;mime/packages&quot;</span>)<span class="operator">,</span>
                            <span class="type"><a href="qstandardpaths.html">QStandardPaths</a></span><span class="operator">::</span>LocateDirectory);

</pre>
<p>On a typical Unix system, this will be /usr/share/mime/packages/, but it is also possible to extend the list of directories by setting the environment variable <code>XDG_DATA_DIRS</code>. For instance adding /opt/myapp/share to <code>XDG_DATA_DIRS</code> will result in /opt/myapp/share/mime/packages/ being searched for MIME definitions.</p>
<p>Here is an example of MIME XML:</p>
<pre class="cpp">

  <span class="operator">&lt;</span><span class="operator">?</span>xml version<span class="operator">=</span><span class="string">&quot;1.0&quot;</span> encoding<span class="operator">=</span><span class="string">&quot;UTF-8&quot;</span><span class="operator">?</span><span class="operator">&gt;</span>
  <span class="operator">&lt;</span>mime<span class="operator">-</span>info xmlns<span class="operator">=</span><span class="string">&quot;http://www.freedesktop.org/standards/shared-mime-info&quot;</span><span class="operator">&gt;</span>
    <span class="operator">&lt;</span>mime<span class="operator">-</span>type type<span class="operator">=</span><span class="string">&quot;application/vnd.qt.qmakeprofile&quot;</span><span class="operator">&gt;</span>
      <span class="operator">&lt;</span>comment xml:lang<span class="operator">=</span><span class="string">&quot;en&quot;</span><span class="operator">&gt;</span><span class="type">Qt</span> qmake Profile<span class="operator">&lt;</span><span class="operator">/</span>comment<span class="operator">&gt;</span>
      <span class="operator">&lt;</span>glob pattern<span class="operator">=</span><span class="string">&quot;*.pro&quot;</span> weight<span class="operator">=</span><span class="string">&quot;50&quot;</span><span class="operator">/</span><span class="operator">&gt;</span>
    <span class="operator">&lt;</span><span class="operator">/</span>mime<span class="operator">-</span>type<span class="operator">&gt;</span>
  <span class="operator">&lt;</span><span class="operator">/</span>mime<span class="operator">-</span>info<span class="operator">&gt;</span>

</pre>
<p>For more details about the syntax of XML MIME definitions, including defining &quot;magic&quot; in order to detect MIME types based on data as well, read the Shared Mime Info specification at http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html</p>
<p>On Unix systems, a binary cache is used for more performance. This cache is generated by the command &quot;update-mime-database path&quot;, where path would be /opt/myapp/share/mime in the above example. Make sure to run this command when installing the MIME type definition file.</p>
<pre class="cpp">

  <span class="type"><a href="qmimedatabase.html#QMimeDatabase">QMimeDatabase</a></span> db;
  <span class="type"><a href="qmimetype.html">QMimeType</a></span> mime <span class="operator">=</span> db<span class="operator">.</span>mimeTypeForFile(fileName);
  <span class="keyword">if</span> (mime<span class="operator">.</span>inherits(<span class="string">&quot;text/plain&quot;</span>)) {
      <span class="comment">// The file is plain text, we can display it in a QTextEdit</span>
  }

</pre>
</div>
<p><b>See also </b><a href="qmimetype.html">QMimeType</a> and <a href="qtcore-mimetypes-mimetypebrowser-example.html">MIME Type Browser Example</a>.</p>
<!-- @@@QMimeDatabase -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$MatchMode$$$MatchDefault$$$MatchExtension$$$MatchContent -->
<h3 class="fn" id="MatchMode-enum"><a name="MatchMode-enum"></a>enum QMimeDatabase::<span class="name">MatchMode</span></h3>
<p>This enum specifies how matching a file to a MIME type is performed.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QMimeDatabase::MatchDefault</code></td><td class="topAlign tblval"><code>0x0</code></td><td class="topAlign">Both the file name and content are used to look for a match</td></tr>
<tr><td class="topAlign"><code>QMimeDatabase::MatchExtension</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">Only the file name is used to look for a match</td></tr>
<tr><td class="topAlign"><code>QMimeDatabase::MatchContent</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">The file content is used to look for a match</td></tr>
</table></div>
<!-- @@@MatchMode -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMimeDatabase[overload1]$$$QMimeDatabase -->
<h3 class="fn" id="QMimeDatabase"><a name="QMimeDatabase"></a>QMimeDatabase::<span class="name">QMimeDatabase</span>()</h3>
<p>Constructs a <a href="qmimedatabase.html">QMimeDatabase</a> object.</p>
<p>It is perfectly OK to create an instance of <a href="qmimedatabase.html">QMimeDatabase</a> every time you need to perform a lookup. The parsing of mimetypes is done on demand (when shared-mime-info is installed) or when the very first instance is constructed (when parsing XML files directly).</p>
<!-- @@@QMimeDatabase -->
<!-- $$$~QMimeDatabase[overload1]$$$~QMimeDatabase -->
<h3 class="fn" id="dtor.QMimeDatabase"><a name="dtor.QMimeDatabase"></a>QMimeDatabase::<span class="name">~QMimeDatabase</span>()</h3>
<p>Destroys the <a href="qmimedatabase.html">QMimeDatabase</a> object.</p>
<!-- @@@~QMimeDatabase -->
<!-- $$$allMimeTypes[overload1]$$$allMimeTypes -->
<h3 class="fn" id="allMimeTypes"><a name="allMimeTypes"></a><span class="type"><a href="qlist.html">QList</a></span>&lt;<span class="type"><a href="qmimetype.html">QMimeType</a></span>&gt; QMimeDatabase::<span class="name">allMimeTypes</span>() const</h3>
<p>Returns the list of all available MIME types.</p>
<p>This can be useful for showing all MIME types to the user, for instance in a MIME type editor. Do not use unless really necessary in other cases though, prefer using the <a href="qmimedatabase.html#mimeTypeForData">mimeTypeForXxx()</a> methods for performance reasons.</p>
<!-- @@@allMimeTypes -->
<!-- $$$mimeTypeForData[overload1]$$$mimeTypeForDataconstQByteArray& -->
<h3 class="fn" id="mimeTypeForData"><a name="mimeTypeForData"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForData</span>(const <span class="type"><a href="qbytearray.html">QByteArray</a></span> &amp;<i>data</i>) const</h3>
<p>Returns a MIME type for <i>data</i>.</p>
<p>A valid MIME type is always returned. If <i>data</i> doesn't match any known MIME type data, the default MIME type (application/octet-stream) is returned.</p>
<!-- @@@mimeTypeForData -->
<!-- $$$mimeTypeForData$$$mimeTypeForDataQIODevice* -->
<h3 class="fn" id="mimeTypeForData-1"><a name="mimeTypeForData-1"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForData</span>(<span class="type"><a href="qiodevice.html">QIODevice</a></span> *<i>device</i>) const</h3>
<p>Returns a MIME type for the data in <i>device</i>.</p>
<p>A valid MIME type is always returned. If the data in <i>device</i> doesn't match any known MIME type data, the default MIME type (application/octet-stream) is returned.</p>
<!-- @@@mimeTypeForData -->
<!-- $$$mimeTypeForFile[overload1]$$$mimeTypeForFileconstQFileInfo&QMimeDatabase::MatchMode -->
<h3 class="fn" id="mimeTypeForFile"><a name="mimeTypeForFile"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForFile</span>(const <span class="type"><a href="qfileinfo.html">QFileInfo</a></span> &amp;<i>fileInfo</i>, <span class="type"><a href="qmimedatabase.html#MatchMode-enum">QMimeDatabase::MatchMode</a></span> <i>mode</i> = MatchDefault) const</h3>
<p>Returns a MIME type for <i>fileInfo</i>.</p>
<p>A valid MIME type is always returned.</p>
<p>The default matching algorithm looks at both the file name and the file contents, if necessary. The file extension has priority over the contents, but the contents will be used if the file extension is unknown, or matches multiple MIME types. If <i>fileInfo</i> is a Unix symbolic link, the file that it refers to will be used instead. If the file doesn't match any known pattern or data, the default MIME type (application/octet-stream) is returned.</p>
<p>When <i>mode</i> is set to <a href="qmimedatabase.html#MatchMode-enum">MatchExtension</a>, only the file name is used, not the file contents. The file doesn't even have to exist. If the file name doesn't match any known pattern, the default MIME type (application/octet-stream) is returned. If multiple MIME types match this file, the first one (alphabetically) is returned.</p>
<p>When <i>mode</i> is set to <a href="qmimedatabase.html#MatchMode-enum">MatchContent</a>, and the file is readable, only the file contents are used to determine the MIME type. This is equivalent to calling <a href="qmimedatabase.html#mimeTypeForData">mimeTypeForData</a> with a <a href="qfile.html">QFile</a> as input device.</p>
<p><i>fileInfo</i> may refer to an absolute or relative path.</p>
<p><b>See also </b><a href="qmimetype.html#isDefault-prop">QMimeType::isDefault</a>() and <a href="qmimedatabase.html#mimeTypeForData">mimeTypeForData</a>().</p>
<!-- @@@mimeTypeForFile -->
<!-- $$$mimeTypeForFile$$$mimeTypeForFileconstQString&QMimeDatabase::MatchMode -->
<h3 class="fn" id="mimeTypeForFile-1"><a name="mimeTypeForFile-1"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForFile</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>fileName</i>, <span class="type"><a href="qmimedatabase.html#MatchMode-enum">QMimeDatabase::MatchMode</a></span> <i>mode</i> = MatchDefault) const</h3>
<p>Returns a MIME type for the file named <i>fileName</i> using <i>mode</i>.</p>
<p>This is an overloaded function.</p>
<!-- @@@mimeTypeForFile -->
<!-- $$$mimeTypeForFileNameAndData[overload1]$$$mimeTypeForFileNameAndDataconstQString&QIODevice* -->
<h3 class="fn" id="mimeTypeForFileNameAndData"><a name="mimeTypeForFileNameAndData"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForFileNameAndData</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>fileName</i>, <span class="type"><a href="qiodevice.html">QIODevice</a></span> *<i>device</i>) const</h3>
<p>Returns a MIME type for the given <i>fileName</i> and <i>device</i> data.</p>
<p>This overload can be useful when the file is remote, and we started to download some of its data in a device. This allows to do full MIME type matching for remote files as well.</p>
<p>If the device is not open, it will be opened by this function, and closed after the MIME type detection is completed.</p>
<p>A valid MIME type is always returned. If <i>device</i> data doesn't match any known MIME type data, the default MIME type (application/octet-stream) is returned.</p>
<p>This method looks at both the file name and the file contents, if necessary. The file extension has priority over the contents, but the contents will be used if the file extension is unknown, or matches multiple MIME types.</p>
<!-- @@@mimeTypeForFileNameAndData -->
<!-- $$$mimeTypeForFileNameAndData$$$mimeTypeForFileNameAndDataconstQString&constQByteArray& -->
<h3 class="fn" id="mimeTypeForFileNameAndData-1"><a name="mimeTypeForFileNameAndData-1"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForFileNameAndData</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>fileName</i>, const <span class="type"><a href="qbytearray.html">QByteArray</a></span> &amp;<i>data</i>) const</h3>
<p>Returns a MIME type for the given <i>fileName</i> and device <i>data</i>.</p>
<p>This overload can be useful when the file is remote, and we started to download some of its data. This allows to do full MIME type matching for remote files as well.</p>
<p>A valid MIME type is always returned. If <i>data</i> doesn't match any known MIME type data, the default MIME type (application/octet-stream) is returned.</p>
<p>This method looks at both the file name and the file contents, if necessary. The file extension has priority over the contents, but the contents will be used if the file extension is unknown, or matches multiple MIME types.</p>
<!-- @@@mimeTypeForFileNameAndData -->
<!-- $$$mimeTypeForName[overload1]$$$mimeTypeForNameconstQString& -->
<h3 class="fn" id="mimeTypeForName"><a name="mimeTypeForName"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForName</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>nameOrAlias</i>) const</h3>
<p>Returns a MIME type for <i>nameOrAlias</i> or an invalid one if none found.</p>
<!-- @@@mimeTypeForName -->
<!-- $$$mimeTypeForUrl[overload1]$$$mimeTypeForUrlconstQUrl& -->
<h3 class="fn" id="mimeTypeForUrl"><a name="mimeTypeForUrl"></a><span class="type"><a href="qmimetype.html">QMimeType</a></span> QMimeDatabase::<span class="name">mimeTypeForUrl</span>(const <span class="type"><a href="qurl.html">QUrl</a></span> &amp;<i>url</i>) const</h3>
<p>Returns a MIME type for <i>url</i>.</p>
<p>If the URL is a local file, this calls <a href="qmimedatabase.html#mimeTypeForFile">mimeTypeForFile</a>.</p>
<p>Otherwise the matching is done based on the file name only, except for schemes where file names don't mean much, like HTTP. This method always returns the default mimetype for HTTP URLs, use <a href="../qtnetwork/qnetworkaccessmanager.html">QNetworkAccessManager</a> to handle HTTP URLs properly.</p>
<p>A valid MIME type is always returned. If <i>url</i> doesn't match any known MIME type data, the default MIME type (application/octet-stream) is returned.</p>
<!-- @@@mimeTypeForUrl -->
<!-- $$$mimeTypesForFileName[overload1]$$$mimeTypesForFileNameconstQString& -->
<h3 class="fn" id="mimeTypesForFileName"><a name="mimeTypesForFileName"></a><span class="type"><a href="qlist.html">QList</a></span>&lt;<span class="type"><a href="qmimetype.html">QMimeType</a></span>&gt; QMimeDatabase::<span class="name">mimeTypesForFileName</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>fileName</i>) const</h3>
<p>Returns the MIME types for the file name <i>fileName</i>.</p>
<p>If the file name doesn't match any known pattern, an empty list is returned. If multiple MIME types match this file, they are all returned.</p>
<p>This function does not try to open the file. To also use the content when determining the MIME type, use <a href="qmimedatabase.html#mimeTypeForFile">mimeTypeForFile</a>() or <a href="qmimedatabase.html#mimeTypeForFileNameAndData">mimeTypeForFileNameAndData</a>() instead.</p>
<p><b>See also </b><a href="qmimedatabase.html#mimeTypeForFile">mimeTypeForFile</a>().</p>
<!-- @@@mimeTypesForFileName -->
<!-- $$$suffixForFileName[overload1]$$$suffixForFileNameconstQString& -->
<h3 class="fn" id="suffixForFileName"><a name="suffixForFileName"></a><span class="type"><a href="qstring.html">QString</a></span> QMimeDatabase::<span class="name">suffixForFileName</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>fileName</i>) const</h3>
<p>Returns the suffix for the file <i>fileName</i>, as known by the MIME database.</p>
<p>This allows to pre-select &quot;tar.bz2&quot; for foo.tar.bz2, but still only &quot;txt&quot; for my.file.with.dots.txt.</p>
<!-- @@@suffixForFileName -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>