<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qpicture.cpp --> <title>Obsolete Members for QPicture | Qt GUI 5.9</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.9</td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QPicture</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</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 QPicture</h1> <p><b>The following members of class <a href="qpicture.html">QPicture</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p> <h2>Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QStringList </td><td class="memItemRight bottomAlign"><b><a href="qpicture-obsolete.html#inputFormatList">inputFormatList</a></b>()</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QList<QByteArray> </td><td class="memItemRight bottomAlign"><b><a href="qpicture-obsolete.html#inputFormats">inputFormats</a></b>()</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QStringList </td><td class="memItemRight bottomAlign"><b><a href="qpicture-obsolete.html#outputFormatList">outputFormatList</a></b>()</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QList<QByteArray> </td><td class="memItemRight bottomAlign"><b><a href="qpicture-obsolete.html#outputFormats">outputFormats</a></b>()</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>const char *</td><td class="memItemRight bottomAlign"><b><a href="qpicture-obsolete.html#pictureFormat">pictureFormat</a></b>(const QString &<i>fileName</i>)</td></tr> </table></div> <h2>Member Function Documentation</h2> <!-- $$$inputFormatList[overload1]$$$inputFormatList --> <h3 class="fn" id="inputFormatList"><a name="inputFormatList"></a><code>[static] </code><span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> QPicture::<span class="name">inputFormatList</span>()</h3> <p>Returns a list of picture formats that are supported for picture input.</p> <p>Note that if you want to iterate over the list, you should iterate over a copy, e.g.</p> <pre class="cpp"> <span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> list <span class="operator">=</span> <span class="type"><a href="qpicture.html#QPicture">QPicture</a></span><span class="operator">::</span>inputFormatList(); foreach (<span class="keyword">const</span> <span class="type"><a href="../qtcore/qstring.html">QString</a></span> <span class="operator">&</span>string<span class="operator">,</span> list) myProcessing(string); </pre> <p><b>See also </b><a href="qpicture-obsolete.html#outputFormatList">outputFormatList</a>(), <a href="qpicture-obsolete.html#inputFormats">inputFormats</a>(), and <a href="qpictureio.html">QPictureIO</a>.</p> <!-- @@@inputFormatList --> <!-- $$$inputFormats[overload1]$$$inputFormats --> <h3 class="fn" id="inputFormats"><a name="inputFormats"></a><code>[static] </code><span class="type"><a href="../qtcore/qlist.html">QList</a></span><<span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span>> QPicture::<span class="name">inputFormats</span>()</h3> <p>Returns a list of picture formats that are supported for picture input.</p> <p><b>See also </b><a href="qpicture-obsolete.html#outputFormats">outputFormats</a>(), <a href="qpicture-obsolete.html#inputFormatList">inputFormatList</a>(), and <a href="qpictureio.html">QPictureIO</a>.</p> <!-- @@@inputFormats --> <!-- $$$outputFormatList[overload1]$$$outputFormatList --> <h3 class="fn" id="outputFormatList"><a name="outputFormatList"></a><code>[static] </code><span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> QPicture::<span class="name">outputFormatList</span>()</h3> <p>Returns a list of picture formats that are supported for picture output.</p> <p>Note that if you want to iterate over the list, you should iterate over a copy, e.g.</p> <pre class="cpp"> <span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> list <span class="operator">=</span> <span class="type"><a href="qpicture.html#QPicture">QPicture</a></span><span class="operator">::</span>outputFormatList(); foreach (<span class="keyword">const</span> <span class="type"><a href="../qtcore/qstring.html">QString</a></span> <span class="operator">&</span>string<span class="operator">,</span> list) myProcessing(string); </pre> <p><b>See also </b><a href="qpicture-obsolete.html#inputFormatList">inputFormatList</a>(), <a href="qpicture-obsolete.html#outputFormats">outputFormats</a>(), and <a href="qpictureio.html">QPictureIO</a>.</p> <!-- @@@outputFormatList --> <!-- $$$outputFormats[overload1]$$$outputFormats --> <h3 class="fn" id="outputFormats"><a name="outputFormats"></a><code>[static] </code><span class="type"><a href="../qtcore/qlist.html">QList</a></span><<span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span>> QPicture::<span class="name">outputFormats</span>()</h3> <p>Returns a list of picture formats that are supported for picture output.</p> <p><b>See also </b><a href="qpicture-obsolete.html#inputFormats">inputFormats</a>(), <a href="qpicture-obsolete.html#outputFormatList">outputFormatList</a>(), and <a href="qpictureio.html">QPictureIO</a>.</p> <!-- @@@outputFormats --> <!-- $$$pictureFormat[overload1]$$$pictureFormatconstQString& --> <h3 class="fn" id="pictureFormat"><a name="pictureFormat"></a><code>[static] </code>const <span class="type">char</span> *QPicture::<span class="name">pictureFormat</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>fileName</i>)</h3> <p>Returns a string that specifies the picture format of the file <i>fileName</i>, or 0 if the file cannot be read or if the format is not recognized.</p> <p><b>See also </b><a href="qpicture.html#load">load</a>() and <a href="qpicture.html#save">save</a>().</p> <!-- @@@pictureFormat --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 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>