Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 311

qtbase5-doc-5.9.4-1.1.mga6.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" />
<!-- qchar.cpp -->
  <title>Obsolete Members for QChar | Qt Core 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="qtcore-index.html">Qt Core</a></td><td ><a href="qtcore-module.html">C++ Classes</a></td><td >QChar</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 QChar</h1>
<p><b>The following members of class <a href="qchar.html">QChar</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 Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>enum </td><td class="memItemRight bottomAlign"><b><a href="qchar-obsolete.html#Joining-enum">Joining</a></b> { Center, Dual, OtherJoining, Right }</td></tr>
</table></div>
<h2>Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>Joining </td><td class="memItemRight bottomAlign"><b><a href="qchar-obsolete.html#joining">joining</a></b>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>char </td><td class="memItemRight bottomAlign"><b><a href="qchar-obsolete.html#toAscii">toAscii</a></b>() const</td></tr>
</table></div>
<h2>Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar-obsolete.html#fromAscii">fromAscii</a></b>(char <i>c</i>)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>Joining </td><td class="memItemRight bottomAlign"><b><a href="qchar-obsolete.html#joining-1">joining</a></b>(uint <i>ucs4</i>)</td></tr>
</table></div>
<h2>Member Type Documentation</h2>
<!-- $$$Joining$$$OtherJoining$$$Dual$$$Right$$$Center -->
<h3 class="fn" id="Joining-enum"><a name="Joining-enum"></a>enum QChar::<span class="name">Joining</span></h3>
<p>This enum type defines the Unicode joining attributes. See the <a href="http://www.unicode.org/">Unicode Standard</a> for a description of the values.</p>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>QChar::Center</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>QChar::Dual</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>QChar::OtherJoining</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>QChar::Right</code></td><td class="topAlign tblval"><code>2</code></td></tr>
</table></div>
<p><b>See also </b><a href="qchar-obsolete.html#joining">joining</a>().</p>
<!-- @@@Joining -->
<h2>Member Function Documentation</h2>
<!-- $$$fromAscii[overload1]$$$fromAsciichar -->
<h3 class="fn" id="fromAscii"><a name="fromAscii"></a><code>[static] </code><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">fromAscii</span>(<span class="type">char</span> <i>c</i>)</h3>
<p>Converts the ASCII character <i>c</i> to it's equivalent <a href="qchar.html">QChar</a>. This is mainly useful for non-internationalized software.</p>
<p>An alternative is to use <a href="qlatin1char.html">QLatin1Char</a>.</p>
<p><b>See also </b><a href="qchar.html#fromLatin1">fromLatin1</a>() and <a href="qchar.html#unicode">unicode</a>().</p>
<!-- @@@fromAscii -->
<!-- $$$joining[overload1]$$$joining -->
<h3 class="fn" id="joining"><a name="joining"></a><span class="type"><a href="qchar-obsolete.html#Joining-enum">Joining</a></span> QChar::<span class="name">joining</span>() const</h3>
<p>Returns information about the joining properties of the character (needed for certain languages such as Arabic).</p>
<!-- @@@joining -->
<!-- $$$joining$$$joininguint -->
<h3 class="fn" id="joining-1"><a name="joining-1"></a><code>[static] </code><span class="type"><a href="qchar-obsolete.html#Joining-enum">Joining</a></span> QChar::<span class="name">joining</span>(<span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> <i>ucs4</i>)</h3>
<p>This is an overloaded function.</p>
<p>Returns information about the joining properties of the UCS-4-encoded character specified by <i>ucs4</i> (needed for certain languages such as Arabic).</p>
<!-- @@@joining -->
<!-- $$$toAscii[overload1]$$$toAscii -->
<h3 class="fn" id="toAscii"><a name="toAscii"></a><span class="type">char</span> QChar::<span class="name">toAscii</span>() const</h3>
<p>Returns the Latin-1 character value of the <a href="qchar.html">QChar</a>, or 0 if the character is not representable.</p>
<p>The main purpose of this function is to preserve ASCII characters used in C strings. This is mainly useful for developers of non-internationalized software.</p>
<p><b>Note: </b>It is not possible to distinguish a non-Latin 1 character from an ASCII 0 (NUL) character. Prefer to use <a href="qchar.html#unicode">unicode</a>(), which does not have this ambiguity.</p><p><b>Note: </b>This function does not check whether the character value is inside the valid range of US-ASCII.</p><p><b>See also </b><a href="qchar.html#toLatin1">toLatin1</a>() and <a href="qchar.html#unicode">unicode</a>().</p>
<!-- @@@toAscii -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>