<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qfiledialog.cpp --> <title>Obsolete Members for QFileDialog | Qt Widgets 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="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QFileDialog</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtwidgets-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="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Obsolete Members for QFileDialog</h1> <p><b>The following members of class <a href="qfiledialog.html">QFileDialog</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p> <h2>Properties</h2> <div class="table"><table class="propsummary"> <tr><td class="topAlign"><ul> <li class="fn"><code>(obsolete) </code><b><a href="qfiledialog-obsolete.html#confirmOverwrite-prop">confirmOverwrite</a></b> : bool</li> <li class="fn"><code>(obsolete) </code><b><a href="qfiledialog-obsolete.html#nameFilterDetailsVisible-prop">nameFilterDetailsVisible</a></b> : bool</li> <li class="fn"><code>(obsolete) </code><b><a href="qfiledialog-obsolete.html#readOnly-prop">readOnly</a></b> : bool</li> </ul></td><td class="topAlign"><ul> <li class="fn"><code>(obsolete) </code><b><a href="qfiledialog-obsolete.html#resolveSymlinks-prop">resolveSymlinks</a></b> : bool</li> <li class="fn"><code>(obsolete) </code><b><a href="qwidget-obsolete.html#windowIconText-prop">windowIconText</a></b> : QString</li> </ul> </td></tr> </table></div> <h2>Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code></td><td class="memItemRight bottomAlign"><b><a href="../qtcore/qobject-obsolete.html#dumpObjectInfo-1">dumpObjectInfo</a></b>()</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code></td><td class="memItemRight bottomAlign"><b><a href="../qtcore/qobject-obsolete.html#dumpObjectTree-1">dumpObjectTree</a></b>()</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QWidget *</td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#extension">extension</a></b>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>bool </td><td class="memItemRight bottomAlign"><b><a href="qwidget-obsolete.html#isEnabledToTLW">isEnabledToTLW</a></b>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>bool </td><td class="memItemRight bottomAlign"><b><a href="qwidget-obsolete.html#isTopLevel">isTopLevel</a></b>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>Qt::Orientation </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#orientation">orientation</a></b>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#setExtension">setExtension</a></b>(QWidget *<i>extension</i>)</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#setOrientation">setOrientation</a></b>(Qt::Orientation <i>orientation</i>)</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QWidget *</td><td class="memItemRight bottomAlign"><b><a href="qwidget-obsolete.html#topLevelWidget">topLevelWidget</a></b>() const</td></tr> </table></div> <h2>Public Slots</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#showExtension">showExtension</a></b>(bool <i>showIt</i>)</td></tr> </table></div> <h2>Property Documentation</h2> <!-- $$$confirmOverwrite-prop$$$confirmOverwrite$$$setConfirmOverwritebool --> <h3 class="fn" id="confirmOverwrite-prop"><a name="confirmOverwrite-prop"></a><span class="name">confirmOverwrite</span> : <span class="type">bool</span></h3> <p>This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>This property holds whether the filedialog should ask before accepting a selected file, when the accept mode is <a href="qfiledialog.html#AcceptMode-enum">AcceptSave</a></p> <p>Use <a href="qfiledialog.html#setOption">setOption</a>(<a href="qfiledialog.html#Option-enum">DontConfirmOverwrite</a>, !<i>enabled</i>) or !<a href="qfiledialog.html#testOption">testOption</a>(<a href="qfiledialog.html#Option-enum">DontConfirmOverwrite</a>) instead.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#confirmOverwrite-prop">confirmOverwrite</a></b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#confirmOverwrite-prop">setConfirmOverwrite</a></b></span>(bool <i>enabled</i>)</td></tr> </table></div> <!-- @@@confirmOverwrite --> <!-- $$$nameFilterDetailsVisible-prop$$$isNameFilterDetailsVisible$$$setNameFilterDetailsVisiblebool --> <h3 class="fn" id="nameFilterDetailsVisible-prop"><a name="nameFilterDetailsVisible-prop"></a><span class="name">nameFilterDetailsVisible</span> : <span class="type">bool</span></h3> <p>This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>This property holds whether the filter details is shown or not.</p> <p>When this property is <code>true</code> (the default), the filter details are shown in the combo box. When the property is set to false, these are hidden.</p> <p>Use <a href="qfiledialog.html#setOption">setOption</a>(<a href="qfiledialog.html#Option-enum">HideNameFilterDetails</a>, !<i>enabled</i>) or !<a href="qfiledialog.html#testOption">testOption</a>(<a href="qfiledialog.html#Option-enum">HideNameFilterDetails</a>).</p> <p>This property was introduced in Qt 4.4.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#nameFilterDetailsVisible-prop">isNameFilterDetailsVisible</a></b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#nameFilterDetailsVisible-prop">setNameFilterDetailsVisible</a></b></span>(bool <i>enabled</i>)</td></tr> </table></div> <!-- @@@nameFilterDetailsVisible --> <!-- $$$readOnly-prop$$$isReadOnly$$$setReadOnlybool --> <h3 class="fn" id="readOnly-prop"><a name="readOnly-prop"></a><span class="name">readOnly</span> : <span class="type">bool</span></h3> <p>This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>This property holds whether the filedialog is read-only</p> <p>If this property is set to false, the file dialog will allow renaming, and deleting of files and directories and creating directories.</p> <p>Use <a href="qfiledialog.html#setOption">setOption</a>(<a href="qfiledialog.html#Option-enum">ReadOnly</a>, <i>enabled</i>) or <a href="qfiledialog.html#testOption">testOption</a>(<a href="qfiledialog.html#Option-enum">ReadOnly</a>) instead.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#readOnly-prop">isReadOnly</a></b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#readOnly-prop">setReadOnly</a></b></span>(bool <i>enabled</i>)</td></tr> </table></div> <!-- @@@readOnly --> <!-- $$$resolveSymlinks-prop$$$resolveSymlinks$$$setResolveSymlinksbool --> <h3 class="fn" id="resolveSymlinks-prop"><a name="resolveSymlinks-prop"></a><span class="name">resolveSymlinks</span> : <span class="type">bool</span></h3> <p>This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>This property holds whether the filedialog should resolve shortcuts</p> <p>If this property is set to true, the file dialog will resolve shortcuts or symbolic links.</p> <p>Use <a href="qfiledialog.html#setOption">setOption</a>(<a href="qfiledialog.html#Option-enum">DontResolveSymlinks</a>, !<i>enabled</i>) or !<a href="qfiledialog.html#testOption">testOption</a>(<a href="qfiledialog.html#Option-enum">DontResolveSymlinks</a>).</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#resolveSymlinks-prop">resolveSymlinks</a></b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qfiledialog.html#resolveSymlinks-prop">setResolveSymlinks</a></b></span>(bool <i>enabled</i>)</td></tr> </table></div> <!-- @@@resolveSymlinks --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>