Sophie

Sophie

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

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" />
<!-- qdatetime.cpp -->
  <title>Obsolete Members for QDate | 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 >QDate</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="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Obsolete Members for QDate</h1>
<p><b>The following members of class <a href="qdate.html">QDate</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
<h2>Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>bool </td><td class="memItemRight bottomAlign"><b><a href="qdate-obsolete.html#setYMD">setYMD</a></b>(int <i>y</i>, int <i>m</i>, int <i>d</i>)</td></tr>
</table></div>
<h2>Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QString </td><td class="memItemRight bottomAlign"><b><a href="qdate-obsolete.html#longDayName">longDayName</a></b>(int <i>weekday</i>, QDate::MonthNameType <i>type</i> = DateFormat)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QString </td><td class="memItemRight bottomAlign"><b><a href="qdate-obsolete.html#longMonthName">longMonthName</a></b>(int <i>month</i>, QDate::MonthNameType <i>type</i> = DateFormat)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QString </td><td class="memItemRight bottomAlign"><b><a href="qdate-obsolete.html#shortDayName">shortDayName</a></b>(int <i>weekday</i>, QDate::MonthNameType <i>type</i> = DateFormat)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QString </td><td class="memItemRight bottomAlign"><b><a href="qdate-obsolete.html#shortMonthName">shortMonthName</a></b>(int <i>month</i>, QDate::MonthNameType <i>type</i> = DateFormat)</td></tr>
</table></div>
<h2>Member Function Documentation</h2>
<!-- $$$longDayName[overload1]$$$longDayNameintQDate::MonthNameType -->
<h3 class="fn" id="longDayName"><a name="longDayName"></a><code>[static] </code><span class="type"><a href="qstring.html">QString</a></span> QDate::<span class="name">longDayName</span>(<span class="type">int</span> <i>weekday</i>, <span class="type"><a href="qdate.html#MonthNameType-enum">QDate::MonthNameType</a></span> <i>type</i> = DateFormat)</h3>
<p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Returns the long name of the <i>weekday</i> for the representation specified by <i>type</i>.</p>
<p>The days are enumerated using the following convention:</p>
<ul>
<li>1 = &quot;Monday&quot;</li>
<li>2 = &quot;Tuesday&quot;</li>
<li>3 = &quot;Wednesday&quot;</li>
<li>4 = &quot;Thursday&quot;</li>
<li>5 = &quot;Friday&quot;</li>
<li>6 = &quot;Saturday&quot;</li>
<li>7 = &quot;Sunday&quot;</li>
</ul>
<p>The day names will be localized according to the system's locale settings, i.e&#x2e; using <a href="qlocale.html#system">QLocale::system</a>().</p>
<p>Returns an empty string if the date is invalid.</p>
<p>This function was introduced in  Qt 4.5.</p>
<p><b>See also </b><a href="qdate.html#toString">toString</a>(), <a href="qdate-obsolete.html#shortDayName">shortDayName</a>(), <a href="qdate-obsolete.html#shortMonthName">shortMonthName</a>(), and <a href="qdate-obsolete.html#longMonthName">longMonthName</a>().</p>
<!-- @@@longDayName -->
<!-- $$$longMonthName[overload1]$$$longMonthNameintQDate::MonthNameType -->
<h3 class="fn" id="longMonthName"><a name="longMonthName"></a><code>[static] </code><span class="type"><a href="qstring.html">QString</a></span> QDate::<span class="name">longMonthName</span>(<span class="type">int</span> <i>month</i>, <span class="type"><a href="qdate.html#MonthNameType-enum">QDate::MonthNameType</a></span> <i>type</i> = DateFormat)</h3>
<p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Returns the long name of the <i>month</i> for the representation specified by <i>type</i>.</p>
<p>The months are enumerated using the following convention:</p>
<ul>
<li>1 = &quot;January&quot;</li>
<li>2 = &quot;February&quot;</li>
<li>3 = &quot;March&quot;</li>
<li>4 = &quot;April&quot;</li>
<li>5 = &quot;May&quot;</li>
<li>6 = &quot;June&quot;</li>
<li>7 = &quot;July&quot;</li>
<li>8 = &quot;August&quot;</li>
<li>9 = &quot;September&quot;</li>
<li>10 = &quot;October&quot;</li>
<li>11 = &quot;November&quot;</li>
<li>12 = &quot;December&quot;</li>
</ul>
<p>The month names will be localized according to the system's locale settings, i.e&#x2e; using <a href="qlocale.html#system">QLocale::system</a>().</p>
<p>Returns an empty string if the date is invalid.</p>
<p>This function was introduced in  Qt 4.5.</p>
<p><b>See also </b><a href="qdate.html#toString">toString</a>(), <a href="qdate-obsolete.html#shortMonthName">shortMonthName</a>(), <a href="qdate-obsolete.html#shortDayName">shortDayName</a>(), and <a href="qdate-obsolete.html#longDayName">longDayName</a>().</p>
<!-- @@@longMonthName -->
<!-- $$$setYMD[overload1]$$$setYMDintintint -->
<h3 class="fn" id="setYMD"><a name="setYMD"></a><span class="type">bool</span> QDate::<span class="name">setYMD</span>(<span class="type">int</span> <i>y</i>, <span class="type">int</span> <i>m</i>, <span class="type">int</span> <i>d</i>)</h3>
<p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Sets the date's year <i>y</i>, month <i>m</i>, and day <i>d</i>.</p>
<p>If <i>y</i> is in the range 0 to 99, it is interpreted as 1900 to 1999. Returns <code>false</code> if the date is invalid.</p>
<p>Use <a href="qdate.html#setDate">setDate</a>() instead.</p>
<!-- @@@setYMD -->
<!-- $$$shortDayName[overload1]$$$shortDayNameintQDate::MonthNameType -->
<h3 class="fn" id="shortDayName"><a name="shortDayName"></a><code>[static] </code><span class="type"><a href="qstring.html">QString</a></span> QDate::<span class="name">shortDayName</span>(<span class="type">int</span> <i>weekday</i>, <span class="type"><a href="qdate.html#MonthNameType-enum">QDate::MonthNameType</a></span> <i>type</i> = DateFormat)</h3>
<p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Returns the short name of the <i>weekday</i> for the representation specified by <i>type</i>.</p>
<p>The days are enumerated using the following convention:</p>
<ul>
<li>1 = &quot;Mon&quot;</li>
<li>2 = &quot;Tue&quot;</li>
<li>3 = &quot;Wed&quot;</li>
<li>4 = &quot;Thu&quot;</li>
<li>5 = &quot;Fri&quot;</li>
<li>6 = &quot;Sat&quot;</li>
<li>7 = &quot;Sun&quot;</li>
</ul>
<p>The day names will be localized according to the system's locale settings, i.e&#x2e; using <a href="qlocale.html#system">QLocale::system</a>().</p>
<p>Returns an empty string if the date is invalid.</p>
<p>This function was introduced in  Qt 4.5.</p>
<p><b>See also </b><a href="qdate.html#toString">toString</a>(), <a href="qdate-obsolete.html#shortMonthName">shortMonthName</a>(), <a href="qdate-obsolete.html#longMonthName">longMonthName</a>(), and <a href="qdate-obsolete.html#longDayName">longDayName</a>().</p>
<!-- @@@shortDayName -->
<!-- $$$shortMonthName[overload1]$$$shortMonthNameintQDate::MonthNameType -->
<h3 class="fn" id="shortMonthName"><a name="shortMonthName"></a><code>[static] </code><span class="type"><a href="qstring.html">QString</a></span> QDate::<span class="name">shortMonthName</span>(<span class="type">int</span> <i>month</i>, <span class="type"><a href="qdate.html#MonthNameType-enum">QDate::MonthNameType</a></span> <i>type</i> = DateFormat)</h3>
<p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Returns the short name of the <i>month</i> for the representation specified by <i>type</i>.</p>
<p>The months are enumerated using the following convention:</p>
<ul>
<li>1 = &quot;Jan&quot;</li>
<li>2 = &quot;Feb&quot;</li>
<li>3 = &quot;Mar&quot;</li>
<li>4 = &quot;Apr&quot;</li>
<li>5 = &quot;May&quot;</li>
<li>6 = &quot;Jun&quot;</li>
<li>7 = &quot;Jul&quot;</li>
<li>8 = &quot;Aug&quot;</li>
<li>9 = &quot;Sep&quot;</li>
<li>10 = &quot;Oct&quot;</li>
<li>11 = &quot;Nov&quot;</li>
<li>12 = &quot;Dec&quot;</li>
</ul>
<p>The month names will be localized according to the system's locale settings, i.e&#x2e; using <a href="qlocale.html#system">QLocale::system</a>().</p>
<p>Returns an empty string if the date is invalid.</p>
<p>This function was introduced in  Qt 4.5.</p>
<p><b>See also </b><a href="qdate.html#toString">toString</a>(), <a href="qdate-obsolete.html#longMonthName">longMonthName</a>(), <a href="qdate-obsolete.html#shortDayName">shortDayName</a>(), and <a href="qdate-obsolete.html#longDayName">longDayName</a>().</p>
<!-- @@@shortMonthName -->
        </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>