| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml">
 | 
|---|
| 3 | <head>
 | 
|---|
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 | 
|---|
| 5 | <title>QuaZIP: QuaZipDir Class Reference</title>
 | 
|---|
| 6 | <link href="tabs.css" rel="stylesheet" type="text/css"/>
 | 
|---|
| 7 | <link href="doxygen.css" rel="stylesheet" type="text/css"/>
 | 
|---|
| 8 | </head>
 | 
|---|
| 9 | <body>
 | 
|---|
| 10 | <!-- Generated by Doxygen 1.7.4 -->
 | 
|---|
| 11 | <div id="top">
 | 
|---|
| 12 | <div id="titlearea">
 | 
|---|
| 13 | <table cellspacing="0" cellpadding="0">
 | 
|---|
| 14 |  <tbody>
 | 
|---|
| 15 |  <tr style="height: 56px;">
 | 
|---|
| 16 |   <td style="padding-left: 0.5em;">
 | 
|---|
| 17 |    <div id="projectname">QuaZIP <span id="projectnumber">quazip-0-7-2</span></div>
 | 
|---|
| 18 |   </td>
 | 
|---|
| 19 |  </tr>
 | 
|---|
| 20 |  </tbody>
 | 
|---|
| 21 | </table>
 | 
|---|
| 22 | </div>
 | 
|---|
| 23 |   <div id="navrow1" class="tabs">
 | 
|---|
| 24 |     <ul class="tablist">
 | 
|---|
| 25 |       <li><a href="index.html"><span>Main Page</span></a></li>
 | 
|---|
| 26 |       <li><a href="pages.html"><span>Related Pages</span></a></li>
 | 
|---|
| 27 |       <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 | 
|---|
| 28 |       <li><a href="files.html"><span>Files</span></a></li>
 | 
|---|
| 29 |       <li><a href="dirs.html"><span>Directories</span></a></li>
 | 
|---|
| 30 |     </ul>
 | 
|---|
| 31 |   </div>
 | 
|---|
| 32 |   <div id="navrow2" class="tabs2">
 | 
|---|
| 33 |     <ul class="tablist">
 | 
|---|
| 34 |       <li><a href="annotated.html"><span>Class List</span></a></li>
 | 
|---|
| 35 |       <li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
 | 
|---|
| 36 |       <li><a href="functions.html"><span>Class Members</span></a></li>
 | 
|---|
| 37 |     </ul>
 | 
|---|
| 38 |   </div>
 | 
|---|
| 39 | </div>
 | 
|---|
| 40 | <div class="header">
 | 
|---|
| 41 |   <div class="summary">
 | 
|---|
| 42 | <a href="#pub-methods">Public Member Functions</a>  </div>
 | 
|---|
| 43 |   <div class="headertitle">
 | 
|---|
| 44 | <div class="title">QuaZipDir Class Reference</div>  </div>
 | 
|---|
| 45 | </div>
 | 
|---|
| 46 | <div class="contents">
 | 
|---|
| 47 | <!-- doxytag: class="QuaZipDir" -->
 | 
|---|
| 48 | <p>Provides ZIP archive navigation.  
 | 
|---|
| 49 |  <a href="classQuaZipDir.html#details">More...</a></p>
 | 
|---|
| 50 | 
 | 
|---|
| 51 | <p><code>#include <<a class="el" href="quazipdir_8h_source.html">quazipdir.h</a>></code></p>
 | 
|---|
| 52 | <div class="dynheader">
 | 
|---|
| 53 | Collaboration diagram for QuaZipDir:</div>
 | 
|---|
| 54 | <div class="dyncontent">
 | 
|---|
| 55 | <div class="center"><img src="classQuaZipDir__coll__graph.png" border="0" usemap="#QuaZipDir_coll__map" alt="Collaboration graph"/></div>
 | 
|---|
| 56 | <map name="QuaZipDir_coll__map" id="QuaZipDir_coll__map">
 | 
|---|
| 57 | <area shape="rect" id="node2" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qshareddatapointer.html" title="QSharedDataPointer\< QuaZipDirPrivate \>" alt="" coords="5,5,267,32"/>
 | 
|---|
| 58 | </map>
 | 
|---|
| 59 | <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 | 
|---|
| 60 | 
 | 
|---|
| 61 | <p><a href="classQuaZipDir-members.html">List of all members.</a></p>
 | 
|---|
| 62 | <table class="memberdecls">
 | 
|---|
| 63 | <tr><td colspan="2"><h2><a name="pub-methods"></a>
 | 
|---|
| 64 | Public Member Functions</h2></td></tr>
 | 
|---|
| 65 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c9cc8b74c52d3fe997b753370566690"></a><!-- doxytag: member="QuaZipDir::QuaZipDir" ref="a6c9cc8b74c52d3fe997b753370566690" args="(const QuaZipDir &that)" -->
 | 
|---|
| 66 |  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a6c9cc8b74c52d3fe997b753370566690">QuaZipDir</a> (const <a class="el" href="classQuaZipDir.html">QuaZipDir</a> &that)</td></tr>
 | 
|---|
| 67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The copy constructor. <br/></td></tr>
 | 
|---|
| 68 | <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a19e5e3a54f322ce03e7f7606a87a2ba1">QuaZipDir</a> (<a class="el" href="classQuaZip.html">QuaZip</a> *zip, const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> &dir=<a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a>())</td></tr>
 | 
|---|
| 69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classQuaZipDir.html" title="Provides ZIP archive navigation.">QuaZipDir</a> instance pointing to the specified directory.  <a href="#a19e5e3a54f322ce03e7f7606a87a2ba1"></a><br/></td></tr>
 | 
|---|
| 70 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae95d60e2c23e611723371bf8fff2b095"></a><!-- doxytag: member="QuaZipDir::~QuaZipDir" ref="ae95d60e2c23e611723371bf8fff2b095" args="()" -->
 | 
|---|
| 71 |  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ae95d60e2c23e611723371bf8fff2b095">~QuaZipDir</a> ()</td></tr>
 | 
|---|
| 72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br/></td></tr>
 | 
|---|
| 73 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a2e07484c7159a3f469922ba2383547"></a><!-- doxytag: member="QuaZipDir::operator==" ref="a4a2e07484c7159a3f469922ba2383547" args="(const QuaZipDir &that)" -->
 | 
|---|
| 74 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a4a2e07484c7159a3f469922ba2383547">operator==</a> (const <a class="el" href="classQuaZipDir.html">QuaZipDir</a> &that)</td></tr>
 | 
|---|
| 75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The assignment operator. <br/></td></tr>
 | 
|---|
| 76 | <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a6e60d858d05774c958215ee7741eceed">operator!=</a> (const <a class="el" href="classQuaZipDir.html">QuaZipDir</a> &that)</td></tr>
 | 
|---|
| 77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">operator!=  <a href="#a6e60d858d05774c958215ee7741eceed"></a><br/></td></tr>
 | 
|---|
| 78 | <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQuaZipDir.html">QuaZipDir</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#aa603c69be0c1597add5951b19f8bc961">operator=</a> (const <a class="el" href="classQuaZipDir.html">QuaZipDir</a> &that)</td></tr>
 | 
|---|
| 79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">operator==  <a href="#aa603c69be0c1597add5951b19f8bc961"></a><br/></td></tr>
 | 
|---|
| 80 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e37ef5318c44a4575c58d66110e535a"></a><!-- doxytag: member="QuaZipDir::operator[]" ref="a9e37ef5318c44a4575c58d66110e535a" args="(int pos) const " -->
 | 
|---|
| 81 | <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a9e37ef5318c44a4575c58d66110e535a">operator[]</a> (int pos) const </td></tr>
 | 
|---|
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the entry at the specified position. <br/></td></tr>
 | 
|---|
| 83 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7ab403a8d36a3b6149da86ea37178f8"></a><!-- doxytag: member="QuaZipDir::caseSensitivity" ref="ad7ab403a8d36a3b6149da86ea37178f8" args="() const " -->
 | 
|---|
| 84 | <a class="el" href="classQuaZip.html#a6053a1d249ed210a85c9d5eb7cf9cdbe">QuaZip::CaseSensitivity</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ad7ab403a8d36a3b6149da86ea37178f8">caseSensitivity</a> () const </td></tr>
 | 
|---|
| 85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current case sensitivity mode. <br/></td></tr>
 | 
|---|
| 86 | <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b">cd</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> &dirName)</td></tr>
 | 
|---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the 'current' directory.  <a href="#aa829afc0243f1d307302f1167edecc7b"></a><br/></td></tr>
 | 
|---|
| 88 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62306db3f4c0866930fa35c7348b84b3"></a><!-- doxytag: member="QuaZipDir::cdUp" ref="a62306db3f4c0866930fa35c7348b84b3" args="()" -->
 | 
|---|
| 89 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a62306db3f4c0866930fa35c7348b84b3">cdUp</a> ()</td></tr>
 | 
|---|
| 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Goes up. <br/></td></tr>
 | 
|---|
| 91 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3f14665e3991351f4ef94ab8e0ab29d"></a><!-- doxytag: member="QuaZipDir::count" ref="aa3f14665e3991351f4ef94ab8e0ab29d" args="() const " -->
 | 
|---|
| 92 | uint </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#aa3f14665e3991351f4ef94ab8e0ab29d">count</a> () const </td></tr>
 | 
|---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of entries in the directory. <br/></td></tr>
 | 
|---|
| 94 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#afd2f76410f7728a7166b7598926fbf96">dirName</a> () const </td></tr>
 | 
|---|
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current directory name.  <a href="#afd2f76410f7728a7166b7598926fbf96"></a><br/></td></tr>
 | 
|---|
| 96 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo.html">QuaZipFileInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#aef966735a146fc10c9527c236aa89261">entryInfoList</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> &nameFilters, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters=QDir::NoFilter, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort=QDir::NoSort) const </td></tr>
 | 
|---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the entries in the directory.  <a href="#aef966735a146fc10c9527c236aa89261"></a><br/></td></tr>
 | 
|---|
| 98 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo.html">QuaZipFileInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#abec530f15597ddf8c8d1f340a333f7aa">entryInfoList</a> (<a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters=QDir::NoFilter, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort=QDir::NoSort) const </td></tr>
 | 
|---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the entries in the directory.  <a href="#abec530f15597ddf8c8d1f340a333f7aa"></a><br/></td></tr>
 | 
|---|
| 100 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo64.html">QuaZipFileInfo64</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ae2b5a4b251db7aeb165c6656da0e3431">entryInfoList64</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> &nameFilters, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters=QDir::NoFilter, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort=QDir::NoSort) const </td></tr>
 | 
|---|
| 101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the entries in the directory with zip64 support.  <a href="#ae2b5a4b251db7aeb165c6656da0e3431"></a><br/></td></tr>
 | 
|---|
| 102 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo64.html">QuaZipFileInfo64</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a8c38ec214c300049685cbf71486636d5">entryInfoList64</a> (<a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters=QDir::NoFilter, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort=QDir::NoSort) const </td></tr>
 | 
|---|
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the entries in the directory with zip64 support.  <a href="#a8c38ec214c300049685cbf71486636d5"></a><br/></td></tr>
 | 
|---|
| 104 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a4a32faa77c4120cd3c6db4b683fa16d9">entryList</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> &nameFilters, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters=QDir::NoFilter, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort=QDir::NoSort) const </td></tr>
 | 
|---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the entry names in the directory.  <a href="#a4a32faa77c4120cd3c6db4b683fa16d9"></a><br/></td></tr>
 | 
|---|
| 106 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ab20e9d3de675b74fcacc98accbc1d766">entryList</a> (<a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters=QDir::NoFilter, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort=QDir::NoSort) const </td></tr>
 | 
|---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the entry names in the directory.  <a href="#ab20e9d3de675b74fcacc98accbc1d766"></a><br/></td></tr>
 | 
|---|
| 108 | <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#aacb488fec6e951ac80e5d473534fee97">exists</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> &fileName) const </td></tr>
 | 
|---|
| 109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if the entry with the specified name exists.  <a href="#aacb488fec6e951ac80e5d473534fee97"></a><br/></td></tr>
 | 
|---|
| 110 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22c8f63ce874f5c0e958ae5f42e6d004"></a><!-- doxytag: member="QuaZipDir::exists" ref="a22c8f63ce874f5c0e958ae5f42e6d004" args="() const " -->
 | 
|---|
| 111 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a22c8f63ce874f5c0e958ae5f42e6d004">exists</a> () const </td></tr>
 | 
|---|
| 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if the directory pointed by this <a class="el" href="classQuaZipDir.html" title="Provides ZIP archive navigation.">QuaZipDir</a> exists. <br/></td></tr>
 | 
|---|
| 113 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ae8b576a150f8d62c902067603cbc97ae">filePath</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> &fileName) const </td></tr>
 | 
|---|
| 114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the full path to the specified file.  <a href="#ae8b576a150f8d62c902067603cbc97ae"></a><br/></td></tr>
 | 
|---|
| 115 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abeee1810c7c1c1af93364081dbf70d38"></a><!-- doxytag: member="QuaZipDir::filter" ref="abeee1810c7c1c1af93364081dbf70d38" args="()" -->
 | 
|---|
| 116 | <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#abeee1810c7c1c1af93364081dbf70d38">filter</a> ()</td></tr>
 | 
|---|
| 117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the default filter. <br/></td></tr>
 | 
|---|
| 118 | <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a598fdf23f1b37e1876476e5969040a32">isRoot</a> () const </td></tr>
 | 
|---|
| 119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns if the <a class="el" href="classQuaZipDir.html" title="Provides ZIP archive navigation.">QuaZipDir</a> points to the root of the archive.  <a href="#a598fdf23f1b37e1876476e5969040a32"></a><br/></td></tr>
 | 
|---|
| 120 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00f18e23abb8cac04f975e7f31553f2e"></a><!-- doxytag: member="QuaZipDir::nameFilters" ref="a00f18e23abb8cac04f975e7f31553f2e" args="() const " -->
 | 
|---|
| 121 | <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a00f18e23abb8cac04f975e7f31553f2e">nameFilters</a> () const </td></tr>
 | 
|---|
| 122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the default name filter. <br/></td></tr>
 | 
|---|
| 123 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a68ac82ad605c0b10f9ee1a2d6d474f52">path</a> () const </td></tr>
 | 
|---|
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the path to the current dir.  <a href="#a68ac82ad605c0b10f9ee1a2d6d474f52"></a><br/></td></tr>
 | 
|---|
| 125 | <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a2ae89c2b85786a0168656fc7a3faaf01">relativeFilePath</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> &fileName) const </td></tr>
 | 
|---|
| 126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the path to the specified file relative to the current dir.  <a href="#a2ae89c2b85786a0168656fc7a3faaf01"></a><br/></td></tr>
 | 
|---|
| 127 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad53c720975bb0c49a823355f7d518793"></a><!-- doxytag: member="QuaZipDir::setCaseSensitivity" ref="ad53c720975bb0c49a823355f7d518793" args="(QuaZip::CaseSensitivity caseSensitivity)" -->
 | 
|---|
| 128 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ad53c720975bb0c49a823355f7d518793">setCaseSensitivity</a> (<a class="el" href="classQuaZip.html#a6053a1d249ed210a85c9d5eb7cf9cdbe">QuaZip::CaseSensitivity</a> caseSensitivity)</td></tr>
 | 
|---|
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default case sensitivity mode. <br/></td></tr>
 | 
|---|
| 130 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a779a43641f0f3802678e39c9acd1fddb"></a><!-- doxytag: member="QuaZipDir::setFilter" ref="a779a43641f0f3802678e39c9acd1fddb" args="(QDir::Filters filters)" -->
 | 
|---|
| 131 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a779a43641f0f3802678e39c9acd1fddb">setFilter</a> (<a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> filters)</td></tr>
 | 
|---|
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default filter. <br/></td></tr>
 | 
|---|
| 133 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcf208bfd6136e14f36725ae79dce2be"></a><!-- doxytag: member="QuaZipDir::setNameFilters" ref="abcf208bfd6136e14f36725ae79dce2be" args="(const QStringList &nameFilters)" -->
 | 
|---|
| 134 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#abcf208bfd6136e14f36725ae79dce2be">setNameFilters</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> &nameFilters)</td></tr>
 | 
|---|
| 135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default name filter. <br/></td></tr>
 | 
|---|
| 136 | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ae82d06e43856414c30583205d337c111">setPath</a> (const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> &path)</td></tr>
 | 
|---|
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Goes to the specified path.  <a href="#ae82d06e43856414c30583205d337c111"></a><br/></td></tr>
 | 
|---|
| 138 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae43e9d717e3c4b1c0d4790cf558e7451"></a><!-- doxytag: member="QuaZipDir::setSorting" ref="ae43e9d717e3c4b1c0d4790cf558e7451" args="(QDir::SortFlags sort)" -->
 | 
|---|
| 139 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#ae43e9d717e3c4b1c0d4790cf558e7451">setSorting</a> (<a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> sort)</td></tr>
 | 
|---|
| 140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default sorting mode. <br/></td></tr>
 | 
|---|
| 141 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4000523c961ab9e0cad08641ff10e3fa"></a><!-- doxytag: member="QuaZipDir::sorting" ref="a4000523c961ab9e0cad08641ff10e3fa" args="() const " -->
 | 
|---|
| 142 | <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaZipDir.html#a4000523c961ab9e0cad08641ff10e3fa">sorting</a> () const </td></tr>
 | 
|---|
| 143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the default sorting mode. <br/></td></tr>
 | 
|---|
| 144 | </table>
 | 
|---|
| 145 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
 | 
|---|
| 146 | <div class="textblock"><p>Provides ZIP archive navigation. </p>
 | 
|---|
| 147 | <p>This class is modelled after <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html">QDir</a>, and is designed to provide similar features for ZIP archives.</p>
 | 
|---|
| 148 | <p>The only significant difference from <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html">QDir</a> is that the root path is not '/', but an empty string since that's how the file paths are stored in the archive. However, <a class="el" href="classQuaZipDir.html" title="Provides ZIP archive navigation.">QuaZipDir</a> understands the paths starting with '/'. It is important in a few places:</p>
 | 
|---|
| 149 | <ul>
 | 
|---|
| 150 | <li>In the <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b" title="Changes the 'current' directory.">cd()</a> function.</li>
 | 
|---|
| 151 | <li>In the constructor.</li>
 | 
|---|
| 152 | <li>In the <a class="el" href="classQuaZipDir.html#aacb488fec6e951ac80e5d473534fee97" title="Returns true if the entry with the specified name exists.">exists()</a> function.</li>
 | 
|---|
| 153 | <li>In the relativePath() function.</li>
 | 
|---|
| 154 | </ul>
 | 
|---|
| 155 | <p>Note that since ZIP uses '/' on all platforms, the '\' separator is not supported. </p>
 | 
|---|
| 156 | </div><hr/><h2>Constructor & Destructor Documentation</h2>
 | 
|---|
| 157 | <a class="anchor" id="a19e5e3a54f322ce03e7f7606a87a2ba1"></a><!-- doxytag: member="QuaZipDir::QuaZipDir" ref="a19e5e3a54f322ce03e7f7606a87a2ba1" args="(QuaZip *zip, const QString &dir=QString())" -->
 | 
|---|
| 158 | <div class="memitem">
 | 
|---|
| 159 | <div class="memproto">
 | 
|---|
| 160 |       <table class="memname">
 | 
|---|
| 161 |         <tr>
 | 
|---|
| 162 |           <td class="memname">QuaZipDir::QuaZipDir </td>
 | 
|---|
| 163 |           <td>(</td>
 | 
|---|
| 164 |           <td class="paramtype"><a class="el" href="classQuaZip.html">QuaZip</a> * </td>
 | 
|---|
| 165 |           <td class="paramname"><em>zip</em>, </td>
 | 
|---|
| 166 |         </tr>
 | 
|---|
| 167 |         <tr>
 | 
|---|
| 168 |           <td class="paramkey"></td>
 | 
|---|
| 169 |           <td></td>
 | 
|---|
| 170 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
 | 
|---|
| 171 |           <td class="paramname"><em>dir</em> = <code><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a>()</code> </td>
 | 
|---|
| 172 |         </tr>
 | 
|---|
| 173 |         <tr>
 | 
|---|
| 174 |           <td></td>
 | 
|---|
| 175 |           <td>)</td>
 | 
|---|
| 176 |           <td></td><td></td>
 | 
|---|
| 177 |         </tr>
 | 
|---|
| 178 |       </table>
 | 
|---|
| 179 | </div>
 | 
|---|
| 180 | <div class="memdoc">
 | 
|---|
| 181 | 
 | 
|---|
| 182 | <p>Constructs a <a class="el" href="classQuaZipDir.html" title="Provides ZIP archive navigation.">QuaZipDir</a> instance pointing to the specified directory. </p>
 | 
|---|
| 183 | <p>If <em>dir</em> is not specified, points to the root of the archive. The same happens if the <em>dir</em> is "/". </p>
 | 
|---|
| 184 | 
 | 
|---|
| 185 | </div>
 | 
|---|
| 186 | </div>
 | 
|---|
| 187 | <hr/><h2>Member Function Documentation</h2>
 | 
|---|
| 188 | <a class="anchor" id="a6e60d858d05774c958215ee7741eceed"></a><!-- doxytag: member="QuaZipDir::operator!=" ref="a6e60d858d05774c958215ee7741eceed" args="(const QuaZipDir &that)" -->
 | 
|---|
| 189 | <div class="memitem">
 | 
|---|
| 190 | <div class="memproto">
 | 
|---|
| 191 |       <table class="memname">
 | 
|---|
| 192 |         <tr>
 | 
|---|
| 193 |           <td class="memname">bool QuaZipDir::operator!= </td>
 | 
|---|
| 194 |           <td>(</td>
 | 
|---|
| 195 |           <td class="paramtype">const <a class="el" href="classQuaZipDir.html">QuaZipDir</a> & </td>
 | 
|---|
| 196 |           <td class="paramname"><em>that</em></td><td>)</td>
 | 
|---|
| 197 |           <td><code> [inline]</code></td>
 | 
|---|
| 198 |         </tr>
 | 
|---|
| 199 |       </table>
 | 
|---|
| 200 | </div>
 | 
|---|
| 201 | <div class="memdoc">
 | 
|---|
| 202 | 
 | 
|---|
| 203 | <p>operator!= </p>
 | 
|---|
| 204 | <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if either this and <em>that</em> use different <a class="el" href="classQuaZip.html" title="ZIP archive.">QuaZip</a> instances or if they point to different directories. </dd></dl>
 | 
|---|
| 205 | 
 | 
|---|
| 206 | </div>
 | 
|---|
| 207 | </div>
 | 
|---|
| 208 | <a class="anchor" id="aa603c69be0c1597add5951b19f8bc961"></a><!-- doxytag: member="QuaZipDir::operator=" ref="aa603c69be0c1597add5951b19f8bc961" args="(const QuaZipDir &that)" -->
 | 
|---|
| 209 | <div class="memitem">
 | 
|---|
| 210 | <div class="memproto">
 | 
|---|
| 211 |       <table class="memname">
 | 
|---|
| 212 |         <tr>
 | 
|---|
| 213 |           <td class="memname"><a class="el" href="classQuaZipDir.html">QuaZipDir</a> & QuaZipDir::operator= </td>
 | 
|---|
| 214 |           <td>(</td>
 | 
|---|
| 215 |           <td class="paramtype">const <a class="el" href="classQuaZipDir.html">QuaZipDir</a> & </td>
 | 
|---|
| 216 |           <td class="paramname"><em>that</em></td><td>)</td>
 | 
|---|
| 217 |           <td></td>
 | 
|---|
| 218 |         </tr>
 | 
|---|
| 219 |       </table>
 | 
|---|
| 220 | </div>
 | 
|---|
| 221 | <div class="memdoc">
 | 
|---|
| 222 | 
 | 
|---|
| 223 | <p>operator== </p>
 | 
|---|
| 224 | <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if both this and <em>that</em> use the same <a class="el" href="classQuaZip.html" title="ZIP archive.">QuaZip</a> instance and point to the same directory. </dd></dl>
 | 
|---|
| 225 | 
 | 
|---|
| 226 | </div>
 | 
|---|
| 227 | </div>
 | 
|---|
| 228 | <a class="anchor" id="aa829afc0243f1d307302f1167edecc7b"></a><!-- doxytag: member="QuaZipDir::cd" ref="aa829afc0243f1d307302f1167edecc7b" args="(const QString &dirName)" -->
 | 
|---|
| 229 | <div class="memitem">
 | 
|---|
| 230 | <div class="memproto">
 | 
|---|
| 231 |       <table class="memname">
 | 
|---|
| 232 |         <tr>
 | 
|---|
| 233 |           <td class="memname">bool QuaZipDir::cd </td>
 | 
|---|
| 234 |           <td>(</td>
 | 
|---|
| 235 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
 | 
|---|
| 236 |           <td class="paramname"><em>dirName</em></td><td>)</td>
 | 
|---|
| 237 |           <td></td>
 | 
|---|
| 238 |         </tr>
 | 
|---|
| 239 |       </table>
 | 
|---|
| 240 | </div>
 | 
|---|
| 241 | <div class="memdoc">
 | 
|---|
| 242 | 
 | 
|---|
| 243 | <p>Changes the 'current' directory. </p>
 | 
|---|
| 244 | <p>If the path starts with '/', it is interpreted as an absolute path from the root of the archive. Otherwise, it is interpreted as a path relative to the current directory as was set by the previous <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b" title="Changes the 'current' directory.">cd()</a> or the constructor.</p>
 | 
|---|
| 245 | <p>Note that the subsequent <a class="el" href="classQuaZipDir.html#a68ac82ad605c0b10f9ee1a2d6d474f52" title="Returns the path to the current dir.">path()</a> call will not return a path starting with '/' in all cases. </p>
 | 
|---|
| 246 | 
 | 
|---|
| 247 | <p>References <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b">cd()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#chop">QString::chop()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html#constBegin">QList::constBegin()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qbytearray.html#constData">QByteArray::constData()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#contains-4">QString::contains()</a>, <a class="el" href="classQuaZipDir.html#afd2f76410f7728a7166b7598926fbf96">dirName()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html#end">QList::end()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#endsWith">QString::endsWith()</a>, <a class="el" href="classQuaZipDir.html#a22c8f63ce874f5c0e958ae5f42e6d004">exists()</a>, <a class="el" href="classQuaZipDir.html#a598fdf23f1b37e1876476e5969040a32">isRoot()</a>, <a class="el" href="classQuaZipDir.html#a68ac82ad605c0b10f9ee1a2d6d474f52">path()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#split">QString::split()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#startsWith">QString::startsWith()</a>, and <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#toUtf8">QString::toUtf8()</a>.</p>
 | 
|---|
| 248 | 
 | 
|---|
| 249 | <p>Referenced by <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b">cd()</a>, and <a class="el" href="classQuaZipDir.html#a62306db3f4c0866930fa35c7348b84b3">cdUp()</a>.</p>
 | 
|---|
| 250 | 
 | 
|---|
| 251 | </div>
 | 
|---|
| 252 | </div>
 | 
|---|
| 253 | <a class="anchor" id="afd2f76410f7728a7166b7598926fbf96"></a><!-- doxytag: member="QuaZipDir::dirName" ref="afd2f76410f7728a7166b7598926fbf96" args="() const " -->
 | 
|---|
| 254 | <div class="memitem">
 | 
|---|
| 255 | <div class="memproto">
 | 
|---|
| 256 |       <table class="memname">
 | 
|---|
| 257 |         <tr>
 | 
|---|
| 258 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> QuaZipDir::dirName </td>
 | 
|---|
| 259 |           <td>(</td>
 | 
|---|
| 260 |           <td class="paramname"></td><td>)</td>
 | 
|---|
| 261 |           <td> const</td>
 | 
|---|
| 262 |         </tr>
 | 
|---|
| 263 |       </table>
 | 
|---|
| 264 | </div>
 | 
|---|
| 265 | <div class="memdoc">
 | 
|---|
| 266 | 
 | 
|---|
| 267 | <p>Returns the current directory name. </p>
 | 
|---|
| 268 | <p>The name doesn't include the path. </p>
 | 
|---|
| 269 | 
 | 
|---|
| 270 | <p>References <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#dirName">QDir::dirName()</a>.</p>
 | 
|---|
| 271 | 
 | 
|---|
| 272 | <p>Referenced by <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b">cd()</a>.</p>
 | 
|---|
| 273 | 
 | 
|---|
| 274 | </div>
 | 
|---|
| 275 | </div>
 | 
|---|
| 276 | <a class="anchor" id="aef966735a146fc10c9527c236aa89261"></a><!-- doxytag: member="QuaZipDir::entryInfoList" ref="aef966735a146fc10c9527c236aa89261" args="(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const " -->
 | 
|---|
| 277 | <div class="memitem">
 | 
|---|
| 278 | <div class="memproto">
 | 
|---|
| 279 |       <table class="memname">
 | 
|---|
| 280 |         <tr>
 | 
|---|
| 281 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo.html">QuaZipFileInfo</a> > QuaZipDir::entryInfoList </td>
 | 
|---|
| 282 |           <td>(</td>
 | 
|---|
| 283 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> & </td>
 | 
|---|
| 284 |           <td class="paramname"><em>nameFilters</em>, </td>
 | 
|---|
| 285 |         </tr>
 | 
|---|
| 286 |         <tr>
 | 
|---|
| 287 |           <td class="paramkey"></td>
 | 
|---|
| 288 |           <td></td>
 | 
|---|
| 289 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td>
 | 
|---|
| 290 |           <td class="paramname"><em>filters</em> = <code>QDir::NoFilter</code>, </td>
 | 
|---|
| 291 |         </tr>
 | 
|---|
| 292 |         <tr>
 | 
|---|
| 293 |           <td class="paramkey"></td>
 | 
|---|
| 294 |           <td></td>
 | 
|---|
| 295 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td>
 | 
|---|
| 296 |           <td class="paramname"><em>sort</em> = <code>QDir::NoSort</code> </td>
 | 
|---|
| 297 |         </tr>
 | 
|---|
| 298 |         <tr>
 | 
|---|
| 299 |           <td></td>
 | 
|---|
| 300 |           <td>)</td>
 | 
|---|
| 301 |           <td></td><td> const</td>
 | 
|---|
| 302 |         </tr>
 | 
|---|
| 303 |       </table>
 | 
|---|
| 304 | </div>
 | 
|---|
| 305 | <div class="memdoc">
 | 
|---|
| 306 | 
 | 
|---|
| 307 | <p>Returns the list of the entries in the directory. </p>
 | 
|---|
| 308 | <dl><dt><b>Parameters:</b></dt><dd>
 | 
|---|
| 309 |   <table class="params">
 | 
|---|
| 310 |     <tr><td class="paramname">nameFilters</td><td>The list of file patterns to list, uses the same syntax as <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html">QDir</a>. </td></tr>
 | 
|---|
| 311 |     <tr><td class="paramname">filters</td><td>The entry type filters, only Files and Dirs are accepted. </td></tr>
 | 
|---|
| 312 |     <tr><td class="paramname">sort</td><td>Sorting mode.</td></tr>
 | 
|---|
| 313 |   </table>
 | 
|---|
| 314 |   </dd>
 | 
|---|
| 315 | </dl>
 | 
|---|
| 316 | 
 | 
|---|
| 317 | <p>Referenced by <a class="el" href="classQuaZipDir.html#abec530f15597ddf8c8d1f340a333f7aa">entryInfoList()</a>.</p>
 | 
|---|
| 318 | 
 | 
|---|
| 319 | </div>
 | 
|---|
| 320 | </div>
 | 
|---|
| 321 | <a class="anchor" id="abec530f15597ddf8c8d1f340a333f7aa"></a><!-- doxytag: member="QuaZipDir::entryInfoList" ref="abec530f15597ddf8c8d1f340a333f7aa" args="(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const " -->
 | 
|---|
| 322 | <div class="memitem">
 | 
|---|
| 323 | <div class="memproto">
 | 
|---|
| 324 |       <table class="memname">
 | 
|---|
| 325 |         <tr>
 | 
|---|
| 326 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo.html">QuaZipFileInfo</a> > QuaZipDir::entryInfoList </td>
 | 
|---|
| 327 |           <td>(</td>
 | 
|---|
| 328 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td>
 | 
|---|
| 329 |           <td class="paramname"><em>filters</em> = <code>QDir::NoFilter</code>, </td>
 | 
|---|
| 330 |         </tr>
 | 
|---|
| 331 |         <tr>
 | 
|---|
| 332 |           <td class="paramkey"></td>
 | 
|---|
| 333 |           <td></td>
 | 
|---|
| 334 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td>
 | 
|---|
| 335 |           <td class="paramname"><em>sort</em> = <code>QDir::NoSort</code> </td>
 | 
|---|
| 336 |         </tr>
 | 
|---|
| 337 |         <tr>
 | 
|---|
| 338 |           <td></td>
 | 
|---|
| 339 |           <td>)</td>
 | 
|---|
| 340 |           <td></td><td> const</td>
 | 
|---|
| 341 |         </tr>
 | 
|---|
| 342 |       </table>
 | 
|---|
| 343 | </div>
 | 
|---|
| 344 | <div class="memdoc">
 | 
|---|
| 345 | 
 | 
|---|
| 346 | <p>Returns the list of the entries in the directory. </p>
 | 
|---|
| 347 | <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The same as entryInfoList(QStringList(), filters, sort). </p>
 | 
|---|
| 348 | 
 | 
|---|
| 349 | <p>References <a class="el" href="classQuaZipDir.html#aef966735a146fc10c9527c236aa89261">entryInfoList()</a>.</p>
 | 
|---|
| 350 | 
 | 
|---|
| 351 | </div>
 | 
|---|
| 352 | </div>
 | 
|---|
| 353 | <a class="anchor" id="ae2b5a4b251db7aeb165c6656da0e3431"></a><!-- doxytag: member="QuaZipDir::entryInfoList64" ref="ae2b5a4b251db7aeb165c6656da0e3431" args="(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const " -->
 | 
|---|
| 354 | <div class="memitem">
 | 
|---|
| 355 | <div class="memproto">
 | 
|---|
| 356 |       <table class="memname">
 | 
|---|
| 357 |         <tr>
 | 
|---|
| 358 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo64.html">QuaZipFileInfo64</a> > QuaZipDir::entryInfoList64 </td>
 | 
|---|
| 359 |           <td>(</td>
 | 
|---|
| 360 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> & </td>
 | 
|---|
| 361 |           <td class="paramname"><em>nameFilters</em>, </td>
 | 
|---|
| 362 |         </tr>
 | 
|---|
| 363 |         <tr>
 | 
|---|
| 364 |           <td class="paramkey"></td>
 | 
|---|
| 365 |           <td></td>
 | 
|---|
| 366 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td>
 | 
|---|
| 367 |           <td class="paramname"><em>filters</em> = <code>QDir::NoFilter</code>, </td>
 | 
|---|
| 368 |         </tr>
 | 
|---|
| 369 |         <tr>
 | 
|---|
| 370 |           <td class="paramkey"></td>
 | 
|---|
| 371 |           <td></td>
 | 
|---|
| 372 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td>
 | 
|---|
| 373 |           <td class="paramname"><em>sort</em> = <code>QDir::NoSort</code> </td>
 | 
|---|
| 374 |         </tr>
 | 
|---|
| 375 |         <tr>
 | 
|---|
| 376 |           <td></td>
 | 
|---|
| 377 |           <td>)</td>
 | 
|---|
| 378 |           <td></td><td> const</td>
 | 
|---|
| 379 |         </tr>
 | 
|---|
| 380 |       </table>
 | 
|---|
| 381 | </div>
 | 
|---|
| 382 | <div class="memdoc">
 | 
|---|
| 383 | 
 | 
|---|
| 384 | <p>Returns the list of the entries in the directory with zip64 support. </p>
 | 
|---|
| 385 | <dl><dt><b>Parameters:</b></dt><dd>
 | 
|---|
| 386 |   <table class="params">
 | 
|---|
| 387 |     <tr><td class="paramname">nameFilters</td><td>The list of file patterns to list, uses the same syntax as <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html">QDir</a>. </td></tr>
 | 
|---|
| 388 |     <tr><td class="paramname">filters</td><td>The entry type filters, only Files and Dirs are accepted. </td></tr>
 | 
|---|
| 389 |     <tr><td class="paramname">sort</td><td>Sorting mode. </td></tr>
 | 
|---|
| 390 |   </table>
 | 
|---|
| 391 |   </dd>
 | 
|---|
| 392 | </dl>
 | 
|---|
| 393 | 
 | 
|---|
| 394 | <p>Referenced by <a class="el" href="classQuaZipDir.html#a8c38ec214c300049685cbf71486636d5">entryInfoList64()</a>.</p>
 | 
|---|
| 395 | 
 | 
|---|
| 396 | </div>
 | 
|---|
| 397 | </div>
 | 
|---|
| 398 | <a class="anchor" id="a8c38ec214c300049685cbf71486636d5"></a><!-- doxytag: member="QuaZipDir::entryInfoList64" ref="a8c38ec214c300049685cbf71486636d5" args="(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const " -->
 | 
|---|
| 399 | <div class="memitem">
 | 
|---|
| 400 | <div class="memproto">
 | 
|---|
| 401 |       <table class="memname">
 | 
|---|
| 402 |         <tr>
 | 
|---|
| 403 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="el" href="structQuaZipFileInfo64.html">QuaZipFileInfo64</a> > QuaZipDir::entryInfoList64 </td>
 | 
|---|
| 404 |           <td>(</td>
 | 
|---|
| 405 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td>
 | 
|---|
| 406 |           <td class="paramname"><em>filters</em> = <code>QDir::NoFilter</code>, </td>
 | 
|---|
| 407 |         </tr>
 | 
|---|
| 408 |         <tr>
 | 
|---|
| 409 |           <td class="paramkey"></td>
 | 
|---|
| 410 |           <td></td>
 | 
|---|
| 411 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td>
 | 
|---|
| 412 |           <td class="paramname"><em>sort</em> = <code>QDir::NoSort</code> </td>
 | 
|---|
| 413 |         </tr>
 | 
|---|
| 414 |         <tr>
 | 
|---|
| 415 |           <td></td>
 | 
|---|
| 416 |           <td>)</td>
 | 
|---|
| 417 |           <td></td><td> const</td>
 | 
|---|
| 418 |         </tr>
 | 
|---|
| 419 |       </table>
 | 
|---|
| 420 | </div>
 | 
|---|
| 421 | <div class="memdoc">
 | 
|---|
| 422 | 
 | 
|---|
| 423 | <p>Returns the list of the entries in the directory with zip64 support. </p>
 | 
|---|
| 424 | <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The same as entryInfoList64(QStringList(), filters, sort). </p>
 | 
|---|
| 425 | 
 | 
|---|
| 426 | <p>References <a class="el" href="classQuaZipDir.html#ae2b5a4b251db7aeb165c6656da0e3431">entryInfoList64()</a>.</p>
 | 
|---|
| 427 | 
 | 
|---|
| 428 | </div>
 | 
|---|
| 429 | </div>
 | 
|---|
| 430 | <a class="anchor" id="a4a32faa77c4120cd3c6db4b683fa16d9"></a><!-- doxytag: member="QuaZipDir::entryList" ref="a4a32faa77c4120cd3c6db4b683fa16d9" args="(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const " -->
 | 
|---|
| 431 | <div class="memitem">
 | 
|---|
| 432 | <div class="memproto">
 | 
|---|
| 433 |       <table class="memname">
 | 
|---|
| 434 |         <tr>
 | 
|---|
| 435 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> QuaZipDir::entryList </td>
 | 
|---|
| 436 |           <td>(</td>
 | 
|---|
| 437 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> & </td>
 | 
|---|
| 438 |           <td class="paramname"><em>nameFilters</em>, </td>
 | 
|---|
| 439 |         </tr>
 | 
|---|
| 440 |         <tr>
 | 
|---|
| 441 |           <td class="paramkey"></td>
 | 
|---|
| 442 |           <td></td>
 | 
|---|
| 443 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td>
 | 
|---|
| 444 |           <td class="paramname"><em>filters</em> = <code>QDir::NoFilter</code>, </td>
 | 
|---|
| 445 |         </tr>
 | 
|---|
| 446 |         <tr>
 | 
|---|
| 447 |           <td class="paramkey"></td>
 | 
|---|
| 448 |           <td></td>
 | 
|---|
| 449 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td>
 | 
|---|
| 450 |           <td class="paramname"><em>sort</em> = <code>QDir::NoSort</code> </td>
 | 
|---|
| 451 |         </tr>
 | 
|---|
| 452 |         <tr>
 | 
|---|
| 453 |           <td></td>
 | 
|---|
| 454 |           <td>)</td>
 | 
|---|
| 455 |           <td></td><td> const</td>
 | 
|---|
| 456 |         </tr>
 | 
|---|
| 457 |       </table>
 | 
|---|
| 458 | </div>
 | 
|---|
| 459 | <div class="memdoc">
 | 
|---|
| 460 | 
 | 
|---|
| 461 | <p>Returns the list of the entry names in the directory. </p>
 | 
|---|
| 462 | <p>The same as entryInfoList(nameFilters, filters, sort), but only returns entry names. </p>
 | 
|---|
| 463 | 
 | 
|---|
| 464 | <p>Referenced by <a class="el" href="classQuaZipDir.html#aa3f14665e3991351f4ef94ab8e0ab29d">count()</a>, <a class="el" href="classQuaZipDir.html#ab20e9d3de675b74fcacc98accbc1d766">entryList()</a>, <a class="el" href="classQuaZipDir.html#aacb488fec6e951ac80e5d473534fee97">exists()</a>, and <a class="el" href="classQuaZipDir.html#a9e37ef5318c44a4575c58d66110e535a">operator[]()</a>.</p>
 | 
|---|
| 465 | 
 | 
|---|
| 466 | </div>
 | 
|---|
| 467 | </div>
 | 
|---|
| 468 | <a class="anchor" id="ab20e9d3de675b74fcacc98accbc1d766"></a><!-- doxytag: member="QuaZipDir::entryList" ref="ab20e9d3de675b74fcacc98accbc1d766" args="(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const " -->
 | 
|---|
| 469 | <div class="memitem">
 | 
|---|
| 470 | <div class="memproto">
 | 
|---|
| 471 |       <table class="memname">
 | 
|---|
| 472 |         <tr>
 | 
|---|
| 473 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html">QStringList</a> QuaZipDir::entryList </td>
 | 
|---|
| 474 |           <td>(</td>
 | 
|---|
| 475 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#Filter-enum">QDir::Filters</a> </td>
 | 
|---|
| 476 |           <td class="paramname"><em>filters</em> = <code>QDir::NoFilter</code>, </td>
 | 
|---|
| 477 |         </tr>
 | 
|---|
| 478 |         <tr>
 | 
|---|
| 479 |           <td class="paramkey"></td>
 | 
|---|
| 480 |           <td></td>
 | 
|---|
| 481 |           <td class="paramtype"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#SortFlag-enum">QDir::SortFlags</a> </td>
 | 
|---|
| 482 |           <td class="paramname"><em>sort</em> = <code>QDir::NoSort</code> </td>
 | 
|---|
| 483 |         </tr>
 | 
|---|
| 484 |         <tr>
 | 
|---|
| 485 |           <td></td>
 | 
|---|
| 486 |           <td>)</td>
 | 
|---|
| 487 |           <td></td><td> const</td>
 | 
|---|
| 488 |         </tr>
 | 
|---|
| 489 |       </table>
 | 
|---|
| 490 | </div>
 | 
|---|
| 491 | <div class="memdoc">
 | 
|---|
| 492 | 
 | 
|---|
| 493 | <p>Returns the list of the entry names in the directory. </p>
 | 
|---|
| 494 | <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The same as entryList(QStringList(), filters, sort). </p>
 | 
|---|
| 495 | 
 | 
|---|
| 496 | <p>References <a class="el" href="classQuaZipDir.html#a4a32faa77c4120cd3c6db4b683fa16d9">entryList()</a>.</p>
 | 
|---|
| 497 | 
 | 
|---|
| 498 | </div>
 | 
|---|
| 499 | </div>
 | 
|---|
| 500 | <a class="anchor" id="aacb488fec6e951ac80e5d473534fee97"></a><!-- doxytag: member="QuaZipDir::exists" ref="aacb488fec6e951ac80e5d473534fee97" args="(const QString &fileName) const " -->
 | 
|---|
| 501 | <div class="memitem">
 | 
|---|
| 502 | <div class="memproto">
 | 
|---|
| 503 |       <table class="memname">
 | 
|---|
| 504 |         <tr>
 | 
|---|
| 505 |           <td class="memname">bool QuaZipDir::exists </td>
 | 
|---|
| 506 |           <td>(</td>
 | 
|---|
| 507 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
 | 
|---|
| 508 |           <td class="paramname"><em>fileName</em></td><td>)</td>
 | 
|---|
| 509 |           <td> const</td>
 | 
|---|
| 510 |         </tr>
 | 
|---|
| 511 |       </table>
 | 
|---|
| 512 | </div>
 | 
|---|
| 513 | <div class="memdoc">
 | 
|---|
| 514 | 
 | 
|---|
| 515 | <p>Returns <code>true</code> if the entry with the specified name exists. </p>
 | 
|---|
| 516 | <p>The ".." is considered to exist if the current directory is not root. The "." and "/" are considered to always exist. Paths starting with "/" are relative to the archive root, other paths are relative to the current dir. </p>
 | 
|---|
| 517 | 
 | 
|---|
| 518 | <p>References <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#chop">QString::chop()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html#constBegin">QList::constBegin()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qbytearray.html#constData">QByteArray::constData()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qlist.html#constEnd">QList::constEnd()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstringlist.html#contains">QStringList::contains()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#contains-4">QString::contains()</a>, <a class="el" href="classQuaZip.html#a1d3fbd445a8e9d3449ded7371931c6b3">QuaZip::convertCaseSensitivity()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#endsWith">QString::endsWith()</a>, <a class="el" href="classQuaZipDir.html#a4a32faa77c4120cd3c6db4b683fa16d9">entryList()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qfileinfo.html#fileName">QFileInfo::fileName()</a>, <a class="el" href="classQuaZipDir.html#ae8b576a150f8d62c902067603cbc97ae">filePath()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#isEmpty">QString::isEmpty()</a>, <a class="el" href="classQuaZipDir.html#a598fdf23f1b37e1876476e5969040a32">isRoot()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qfileinfo.html#path">QFileInfo::path()</a>, and <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#toUtf8">QString::toUtf8()</a>.</p>
 | 
|---|
| 519 | 
 | 
|---|
| 520 | </div>
 | 
|---|
| 521 | </div>
 | 
|---|
| 522 | <a class="anchor" id="ae8b576a150f8d62c902067603cbc97ae"></a><!-- doxytag: member="QuaZipDir::filePath" ref="ae8b576a150f8d62c902067603cbc97ae" args="(const QString &fileName) const " -->
 | 
|---|
| 523 | <div class="memitem">
 | 
|---|
| 524 | <div class="memproto">
 | 
|---|
| 525 |       <table class="memname">
 | 
|---|
| 526 |         <tr>
 | 
|---|
| 527 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> QuaZipDir::filePath </td>
 | 
|---|
| 528 |           <td>(</td>
 | 
|---|
| 529 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
 | 
|---|
| 530 |           <td class="paramname"><em>fileName</em></td><td>)</td>
 | 
|---|
| 531 |           <td> const</td>
 | 
|---|
| 532 |         </tr>
 | 
|---|
| 533 |       </table>
 | 
|---|
| 534 | </div>
 | 
|---|
| 535 | <div class="memdoc">
 | 
|---|
| 536 | 
 | 
|---|
| 537 | <p>Returns the full path to the specified file. </p>
 | 
|---|
| 538 | <p>Doesn't check if the file actually exists. </p>
 | 
|---|
| 539 | 
 | 
|---|
| 540 | <p>References <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#filePath">QDir::filePath()</a>.</p>
 | 
|---|
| 541 | 
 | 
|---|
| 542 | <p>Referenced by <a class="el" href="classQuaZipDir.html#aacb488fec6e951ac80e5d473534fee97">exists()</a>.</p>
 | 
|---|
| 543 | 
 | 
|---|
| 544 | </div>
 | 
|---|
| 545 | </div>
 | 
|---|
| 546 | <a class="anchor" id="a598fdf23f1b37e1876476e5969040a32"></a><!-- doxytag: member="QuaZipDir::isRoot" ref="a598fdf23f1b37e1876476e5969040a32" args="() const " -->
 | 
|---|
| 547 | <div class="memitem">
 | 
|---|
| 548 | <div class="memproto">
 | 
|---|
| 549 |       <table class="memname">
 | 
|---|
| 550 |         <tr>
 | 
|---|
| 551 |           <td class="memname">bool QuaZipDir::isRoot </td>
 | 
|---|
| 552 |           <td>(</td>
 | 
|---|
| 553 |           <td class="paramname"></td><td>)</td>
 | 
|---|
| 554 |           <td> const</td>
 | 
|---|
| 555 |         </tr>
 | 
|---|
| 556 |       </table>
 | 
|---|
| 557 | </div>
 | 
|---|
| 558 | <div class="memdoc">
 | 
|---|
| 559 | 
 | 
|---|
| 560 | <p>Returns if the <a class="el" href="classQuaZipDir.html" title="Provides ZIP archive navigation.">QuaZipDir</a> points to the root of the archive. </p>
 | 
|---|
| 561 | <p>Not that the root path is the empty string, not '/'. </p>
 | 
|---|
| 562 | 
 | 
|---|
| 563 | <p>Referenced by <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b">cd()</a>, and <a class="el" href="classQuaZipDir.html#aacb488fec6e951ac80e5d473534fee97">exists()</a>.</p>
 | 
|---|
| 564 | 
 | 
|---|
| 565 | </div>
 | 
|---|
| 566 | </div>
 | 
|---|
| 567 | <a class="anchor" id="a68ac82ad605c0b10f9ee1a2d6d474f52"></a><!-- doxytag: member="QuaZipDir::path" ref="a68ac82ad605c0b10f9ee1a2d6d474f52" args="() const " -->
 | 
|---|
| 568 | <div class="memitem">
 | 
|---|
| 569 | <div class="memproto">
 | 
|---|
| 570 |       <table class="memname">
 | 
|---|
| 571 |         <tr>
 | 
|---|
| 572 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> QuaZipDir::path </td>
 | 
|---|
| 573 |           <td>(</td>
 | 
|---|
| 574 |           <td class="paramname"></td><td>)</td>
 | 
|---|
| 575 |           <td> const</td>
 | 
|---|
| 576 |         </tr>
 | 
|---|
| 577 |       </table>
 | 
|---|
| 578 | </div>
 | 
|---|
| 579 | <div class="memdoc">
 | 
|---|
| 580 | 
 | 
|---|
| 581 | <p>Returns the path to the current dir. </p>
 | 
|---|
| 582 | <p>The path never starts with '/', and the root path is an empty string. </p>
 | 
|---|
| 583 | 
 | 
|---|
| 584 | <p>Referenced by <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b">cd()</a>, and <a class="el" href="classQuaZipDir.html#ae82d06e43856414c30583205d337c111">setPath()</a>.</p>
 | 
|---|
| 585 | 
 | 
|---|
| 586 | </div>
 | 
|---|
| 587 | </div>
 | 
|---|
| 588 | <a class="anchor" id="a2ae89c2b85786a0168656fc7a3faaf01"></a><!-- doxytag: member="QuaZipDir::relativeFilePath" ref="a2ae89c2b85786a0168656fc7a3faaf01" args="(const QString &fileName) const " -->
 | 
|---|
| 589 | <div class="memitem">
 | 
|---|
| 590 | <div class="memproto">
 | 
|---|
| 591 |       <table class="memname">
 | 
|---|
| 592 |         <tr>
 | 
|---|
| 593 |           <td class="memname"><a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> QuaZipDir::relativeFilePath </td>
 | 
|---|
| 594 |           <td>(</td>
 | 
|---|
| 595 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
 | 
|---|
| 596 |           <td class="paramname"><em>fileName</em></td><td>)</td>
 | 
|---|
| 597 |           <td> const</td>
 | 
|---|
| 598 |         </tr>
 | 
|---|
| 599 |       </table>
 | 
|---|
| 600 | </div>
 | 
|---|
| 601 | <div class="memdoc">
 | 
|---|
| 602 | 
 | 
|---|
| 603 | <p>Returns the path to the specified file relative to the current dir. </p>
 | 
|---|
| 604 | <p>This function is mostly useless, provided only for the sake of completeness.</p>
 | 
|---|
| 605 | <dl><dt><b>Parameters:</b></dt><dd>
 | 
|---|
| 606 |   <table class="params">
 | 
|---|
| 607 |     <tr><td class="paramname">fileName</td><td>The path to the file, should start with "/" if relative to the archive root. </td></tr>
 | 
|---|
| 608 |   </table>
 | 
|---|
| 609 |   </dd>
 | 
|---|
| 610 | </dl>
 | 
|---|
| 611 | <dl class="return"><dt><b>Returns:</b></dt><dd>Path relative to the current dir. </dd></dl>
 | 
|---|
| 612 | 
 | 
|---|
| 613 | <p>References <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qdir.html#relativeFilePath">QDir::relativeFilePath()</a>.</p>
 | 
|---|
| 614 | 
 | 
|---|
| 615 | </div>
 | 
|---|
| 616 | </div>
 | 
|---|
| 617 | <a class="anchor" id="ae82d06e43856414c30583205d337c111"></a><!-- doxytag: member="QuaZipDir::setPath" ref="ae82d06e43856414c30583205d337c111" args="(const QString &path)" -->
 | 
|---|
| 618 | <div class="memitem">
 | 
|---|
| 619 | <div class="memproto">
 | 
|---|
| 620 |       <table class="memname">
 | 
|---|
| 621 |         <tr>
 | 
|---|
| 622 |           <td class="memname">void QuaZipDir::setPath </td>
 | 
|---|
| 623 |           <td>(</td>
 | 
|---|
| 624 |           <td class="paramtype">const <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
 | 
|---|
| 625 |           <td class="paramname"><em>path</em></td><td>)</td>
 | 
|---|
| 626 |           <td></td>
 | 
|---|
| 627 |         </tr>
 | 
|---|
| 628 |       </table>
 | 
|---|
| 629 | </div>
 | 
|---|
| 630 | <div class="memdoc">
 | 
|---|
| 631 | 
 | 
|---|
| 632 | <p>Goes to the specified path. </p>
 | 
|---|
| 633 | <p>The difference from <a class="el" href="classQuaZipDir.html#aa829afc0243f1d307302f1167edecc7b" title="Changes the 'current' directory.">cd()</a> is that this function never checks if the path actually exists and doesn't use relative paths, so it's possible to go to the root directory with setPath("").</p>
 | 
|---|
| 634 | <p>Note that this function still chops the trailing and/or leading '/' and treats a single '/' as the root path (<a class="el" href="classQuaZipDir.html#a68ac82ad605c0b10f9ee1a2d6d474f52" title="Returns the path to the current dir.">path()</a> will still return an empty string). </p>
 | 
|---|
| 635 | 
 | 
|---|
| 636 | <p>References <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#chop">QString::chop()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#endsWith">QString::endsWith()</a>, <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#mid">QString::mid()</a>, <a class="el" href="classQuaZipDir.html#a68ac82ad605c0b10f9ee1a2d6d474f52">path()</a>, and <a class="elRef" doxygen="qtcore.tags:http://doc.qt.io/qt-5//" href="http://doc.qt.io/qt-5/qstring.html#startsWith">QString::startsWith()</a>.</p>
 | 
|---|
| 637 | 
 | 
|---|
| 638 | </div>
 | 
|---|
| 639 | </div>
 | 
|---|
| 640 | <hr/>The documentation for this class was generated from the following files:<ul>
 | 
|---|
| 641 | <li>quazip/<a class="el" href="quazipdir_8h_source.html">quazipdir.h</a></li>
 | 
|---|
| 642 | <li>quazip/quazipdir.cpp</li>
 | 
|---|
| 643 | </ul>
 | 
|---|
| 644 | </div>
 | 
|---|
| 645 | <hr class="footer"/><address class="footer"><small>Generated on Sun Apr 3 2016 08:26:25 for QuaZIP by 
 | 
|---|
| 646 | <a href="http://www.doxygen.org/index.html">
 | 
|---|
| 647 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
 | 
|---|
| 648 | </body>
 | 
|---|
| 649 | </html>
 | 
|---|