Sophie

Sophie

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

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>QChar Class | 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="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#related-non-members">Related Non-Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QChar Class</h1>
<!-- $$$QChar-brief -->
<p>The <a href="qchar.html">QChar</a> class provides a 16-bit Unicode character. <a href="#details">More...</a></p>
<!-- @@@QChar -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QChar&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += core</td></tr></table></div><ul>
<li><a href="qchar-members.html">List of all members, including inherited members</a></li>
<li><a href="qchar-obsolete.html">Obsolete members</a></li>
</ul>
<p><b>Note:</b> All functions in this class are reentrant.</p>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#Category-enum">Category</a></b> { Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, ..., Symbol_Other }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#Decomposition-enum">Decomposition</a></b> { NoDecomposition, Canonical, Circle, Compat, ..., Wide }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#Direction-enum">Direction</a></b> { DirAL, DirAN, DirB, DirBN, ..., DirWS }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#JoiningType-enum">JoiningType</a></b> { Joining_None, Joining_Causing, Joining_Dual, Joining_Right, Joining_Left, Joining_Transparent }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#Script-enum">Script</a></b> { Script_Unknown, Script_Inherited, Script_Common, Script_Latin, ..., Script_SignWriting }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#SpecialCharacter-enum">SpecialCharacter</a></b> { Null, Tabulation, LineFeed, CarriageReturn, ..., LastValidCodePoint }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#UnicodeVersion-enum">UnicodeVersion</a></b> { Unicode_1_1, Unicode_2_0, Unicode_2_1_2, Unicode_3_0, ..., Unicode_Unassigned }</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar">QChar</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-1">QChar</a></b>(ushort <i>code</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-2">QChar</a></b>(uchar <i>cell</i>, uchar <i>row</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-3">QChar</a></b>(short <i>code</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-4">QChar</a></b>(uint <i>code</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-5">QChar</a></b>(int <i>code</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-6">QChar</a></b>(SpecialCharacter <i>ch</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-7">QChar</a></b>(QLatin1Char <i>ch</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-8">QChar</a></b>(char <i>ch</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#QChar-9">QChar</a></b>(uchar <i>ch</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Category </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#category">category</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uchar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#cell">cell</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned char </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#combiningClass">combiningClass</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#decomposition">decomposition</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Decomposition </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#decompositionTag">decompositionTag</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#digitValue">digitValue</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Direction </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#direction">direction</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#hasMirrored">hasMirrored</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isDigit">isDigit</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isHighSurrogate">isHighSurrogate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLetter">isLetter</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLetterOrNumber">isLetterOrNumber</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLowSurrogate">isLowSurrogate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLower">isLower</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isMark">isMark</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isNonCharacter">isNonCharacter</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isNull">isNull</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isNumber">isNumber</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isPrint">isPrint</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isPunct">isPunct</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isSpace">isSpace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isSurrogate">isSurrogate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isSymbol">isSymbol</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isTitleCase">isTitleCase</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isUpper">isUpper</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> JoiningType </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#joiningType">joiningType</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#mirroredChar">mirroredChar</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uchar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#row">row</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Script </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#script">script</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toCaseFolded">toCaseFolded</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> char </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toLatin1">toLatin1</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toLower">toLower</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toTitleCase">toTitleCase</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toUpper">toUpper</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ushort </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#unicode">unicode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ushort &amp;</td><td class="memItemRight bottomAlign"><b><a href="qchar.html#unicode-1">unicode</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> UnicodeVersion </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#unicodeVersion">unicodeVersion</a></b>() const</td></tr>
</table></div>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Category </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#category-1">category</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned char </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#combiningClass-1">combiningClass</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> UnicodeVersion </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#currentUnicodeVersion">currentUnicodeVersion</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#decomposition-1">decomposition</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Decomposition </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#decompositionTag-1">decompositionTag</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#digitValue-1">digitValue</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Direction </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#direction-1">direction</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#fromLatin1">fromLatin1</a></b>(char <i>c</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#hasMirrored-1">hasMirrored</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ushort </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#highSurrogate">highSurrogate</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isDigit-1">isDigit</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isHighSurrogate-1">isHighSurrogate</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLetter-1">isLetter</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLetterOrNumber-1">isLetterOrNumber</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLowSurrogate-1">isLowSurrogate</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isLower-1">isLower</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isMark-1">isMark</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isNonCharacter-1">isNonCharacter</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isNumber-1">isNumber</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isPrint-1">isPrint</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isPunct-1">isPunct</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isSpace-1">isSpace</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isSurrogate-1">isSurrogate</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isSymbol-1">isSymbol</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isTitleCase-1">isTitleCase</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#isUpper-1">isUpper</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> JoiningType </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#joiningType-1">joiningType</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ushort </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#lowSurrogate">lowSurrogate</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#mirroredChar-1">mirroredChar</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#requiresSurrogates">requiresSurrogates</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Script </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#script-1">script</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#surrogateToUcs4">surrogateToUcs4</a></b>(ushort <i>high</i>, ushort <i>low</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#surrogateToUcs4-1">surrogateToUcs4</a></b>(QChar <i>high</i>, QChar <i>low</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toCaseFolded-1">toCaseFolded</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toLower-1">toLower</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toTitleCase-1">toTitleCase</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#toUpper-1">toUpper</a></b>(uint <i>ucs4</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> UnicodeVersion </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#unicodeVersion-1">unicodeVersion</a></b>(uint <i>ucs4</i>)</td></tr>
</table></div>
<a name="related-non-members"></a>
<h2 id="related-non-members">Related Non-Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-not-eq">operator!=</a></b>(QChar <i>c1</i>, QChar <i>c2</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-lt">operator&lt;</a></b>(QChar <i>c1</i>, QChar <i>c2</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDataStream &amp;</td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-lt-lt">operator&lt;&lt;</a></b>(QDataStream &amp;<i>out</i>, QChar <i>chr</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-lt-eq">operator&lt;=</a></b>(QChar <i>c1</i>, QChar <i>c2</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-eq-eq">operator==</a></b>(QChar <i>c1</i>, QChar <i>c2</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-gt">operator&gt;</a></b>(QChar <i>c1</i>, QChar <i>c2</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-gt-eq">operator&gt;=</a></b>(QChar <i>c1</i>, QChar <i>c2</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDataStream &amp;</td><td class="memItemRight bottomAlign"><b><a href="qchar.html#operator-gt-gt">operator&gt;&gt;</a></b>(QDataStream &amp;<i>in</i>, QChar &amp;<i>chr</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QChar-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qchar.html">QChar</a> class provides a 16-bit Unicode character.</p>
<p>In Qt, Unicode characters are 16-bit entities without any markup or structure. This class represents such an entity. It is lightweight, so it can be used everywhere. Most compilers treat it like an <code>unsigned short</code>.</p>
<p><a href="qchar.html">QChar</a> provides a full complement of testing/classification functions, converting to and from other formats, converting from composed to decomposed Unicode, and trying to compare and case-convert if you ask it to.</p>
<p>The classification functions include functions like those in the standard C++ header &lt;cctype&gt; (formerly &lt;ctype.h&gt;), but operating on the full range of Unicode characters, not just for the ASCII range. They all return true if the character is a certain type of character; otherwise they return false. These classification functions are <a href="qchar.html#isNull">isNull</a>() (returns <code>true</code> if the character is '\0'), <a href="qchar.html#isPrint">isPrint</a>() (true if the character is any sort of printable character, including whitespace), <a href="qchar.html#isPunct">isPunct</a>() (any sort of punctation), <a href="qchar.html#isMark">isMark</a>() (Unicode Mark), <a href="qchar.html#isLetter">isLetter</a>() (a letter), <a href="qchar.html#isNumber">isNumber</a>() (any sort of numeric character, not just 0-9), <a href="qchar.html#isLetterOrNumber">isLetterOrNumber</a>(), and <a href="qchar.html#isDigit">isDigit</a>() (decimal digits). All of these are wrappers around <a href="qchar.html#category">category</a>() which return the Unicode-defined category of each character. Some of these also calculate the derived properties (for example <a href="qchar.html#isSpace">isSpace</a>() returns <code>true</code> if the character is of category Separator_* or an exceptional code point from <a href="qchar.html#Category-enum">Other_Control</a> category).</p>
<p><a href="qchar.html">QChar</a> also provides <a href="qchar.html#direction">direction</a>(), which indicates the &quot;natural&quot; writing direction of this character. The <a href="qchar.html#joiningType">joiningType</a>() function indicates how the character joins with it's neighbors (needed mostly for Arabic or Syriac) and finally <a href="qchar.html#hasMirrored">hasMirrored</a>(), which indicates whether the character needs to be mirrored when it is printed in it's &quot;unnatural&quot; writing direction.</p>
<p>Composed Unicode characters (like <i>ring</i>) can be converted to decomposed Unicode (&quot;a&quot; followed by &quot;ring above&quot;) by using <a href="qchar.html#decomposition">decomposition</a>().</p>
<p>In Unicode, comparison is not necessarily possible and case conversion is very difficult at best. Unicode, covering the &quot;entire&quot; world, also includes most of the world's case and sorting problems. operator==() and friends will do comparison based purely on the numeric Unicode value (code point) of the characters, and <a href="qchar.html#toUpper">toUpper</a>() and <a href="qchar.html#toLower">toLower</a>() will do case changes when the character has a well-defined uppercase/lowercase equivalent. For locale-dependent comparisons, use <a href="qstring.html#localeAwareCompare">QString::localeAwareCompare</a>().</p>
<p>The conversion functions include <a href="qchar.html#unicode">unicode</a>() (to a scalar), <a href="qchar.html#toLatin1">toLatin1</a>() (to scalar, but converts all non-Latin-1 characters to 0), <a href="qchar.html#row">row</a>() (gives the Unicode row), <a href="qchar.html#cell">cell</a>() (gives the Unicode cell), <a href="qchar.html#digitValue">digitValue</a>() (gives the integer value of any of the numerous digit characters), and a host of constructors.</p>
<p><a href="qchar.html">QChar</a> provides constructors and cast operators that make it easy to convert to and from traditional 8-bit <code>char</code>s. If you defined <code>QT_NO_CAST_FROM_ASCII</code> and <code>QT_NO_CAST_TO_ASCII</code>, as explained in the <a href="qstring.html">QString</a> documentation, you will need to explicitly call <a href="qchar.html#fromLatin1">fromLatin1</a>(), or use <a href="qlatin1char.html">QLatin1Char</a>, to construct a <a href="qchar.html">QChar</a> from an 8-bit <code>char</code>, and you will need to call <a href="qchar.html#toLatin1">toLatin1</a>() to get the 8-bit value back.</p>
<p>For more information see <a href="http://www.unicode.org/ucd/">&quot;About the Unicode Character Database&quot;</a>.</p>
</div>
<p><b>See also </b>Unicode, <a href="qstring.html">QString</a>, and <a href="qlatin1char.html">QLatin1Char</a>.</p>
<!-- @@@QChar -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Category$$$Mark_NonSpacing$$$Mark_SpacingCombining$$$Mark_Enclosing$$$Number_DecimalDigit$$$Number_Letter$$$Number_Other$$$Separator_Space$$$Separator_Line$$$Separator_Paragraph$$$Other_Control$$$Other_Format$$$Other_Surrogate$$$Other_PrivateUse$$$Other_NotAssigned$$$Letter_Uppercase$$$Letter_Lowercase$$$Letter_Titlecase$$$Letter_Modifier$$$Letter_Other$$$Punctuation_Connector$$$Punctuation_Dash$$$Punctuation_Open$$$Punctuation_Close$$$Punctuation_InitialQuote$$$Punctuation_FinalQuote$$$Punctuation_Other$$$Symbol_Math$$$Symbol_Currency$$$Symbol_Modifier$$$Symbol_Other -->
<h3 class="fn" id="Category-enum"><a name="Category-enum"></a>enum QChar::<span class="name">Category</span></h3>
<p>This enum maps the Unicode character categories.</p>
<p>The following characters are normative in Unicode:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QChar::Mark_NonSpacing</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Unicode class name Mn</td></tr>
<tr><td class="topAlign"><code>QChar::Mark_SpacingCombining</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Unicode class name Mc</td></tr>
<tr><td class="topAlign"><code>QChar::Mark_Enclosing</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Unicode class name Me</td></tr>
<tr><td class="topAlign"><code>QChar::Number_DecimalDigit</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Unicode class name Nd</td></tr>
<tr><td class="topAlign"><code>QChar::Number_Letter</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Unicode class name Nl</td></tr>
<tr><td class="topAlign"><code>QChar::Number_Other</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Unicode class name No</td></tr>
<tr><td class="topAlign"><code>QChar::Separator_Space</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Unicode class name Zs</td></tr>
<tr><td class="topAlign"><code>QChar::Separator_Line</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">Unicode class name Zl</td></tr>
<tr><td class="topAlign"><code>QChar::Separator_Paragraph</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Unicode class name Zp</td></tr>
<tr><td class="topAlign"><code>QChar::Other_Control</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">Unicode class name Cc</td></tr>
<tr><td class="topAlign"><code>QChar::Other_Format</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">Unicode class name Cf</td></tr>
<tr><td class="topAlign"><code>QChar::Other_Surrogate</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign">Unicode class name Cs</td></tr>
<tr><td class="topAlign"><code>QChar::Other_PrivateUse</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">Unicode class name Co</td></tr>
<tr><td class="topAlign"><code>QChar::Other_NotAssigned</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign">Unicode class name Cn</td></tr>
</table></div>
<p>The following categories are informative in Unicode:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QChar::Letter_Uppercase</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">Unicode class name Lu</td></tr>
<tr><td class="topAlign"><code>QChar::Letter_Lowercase</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign">Unicode class name Ll</td></tr>
<tr><td class="topAlign"><code>QChar::Letter_Titlecase</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">Unicode class name Lt</td></tr>
<tr><td class="topAlign"><code>QChar::Letter_Modifier</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign">Unicode class name Lm</td></tr>
<tr><td class="topAlign"><code>QChar::Letter_Other</code></td><td class="topAlign tblval"><code>18</code></td><td class="topAlign">Unicode class name Lo</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_Connector</code></td><td class="topAlign tblval"><code>19</code></td><td class="topAlign">Unicode class name Pc</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_Dash</code></td><td class="topAlign tblval"><code>20</code></td><td class="topAlign">Unicode class name Pd</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_Open</code></td><td class="topAlign tblval"><code>21</code></td><td class="topAlign">Unicode class name Ps</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_Close</code></td><td class="topAlign tblval"><code>22</code></td><td class="topAlign">Unicode class name Pe</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_InitialQuote</code></td><td class="topAlign tblval"><code>23</code></td><td class="topAlign">Unicode class name Pi</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_FinalQuote</code></td><td class="topAlign tblval"><code>24</code></td><td class="topAlign">Unicode class name Pf</td></tr>
<tr><td class="topAlign"><code>QChar::Punctuation_Other</code></td><td class="topAlign tblval"><code>25</code></td><td class="topAlign">Unicode class name Po</td></tr>
<tr><td class="topAlign"><code>QChar::Symbol_Math</code></td><td class="topAlign tblval"><code>26</code></td><td class="topAlign">Unicode class name Sm</td></tr>
<tr><td class="topAlign"><code>QChar::Symbol_Currency</code></td><td class="topAlign tblval"><code>27</code></td><td class="topAlign">Unicode class name Sc</td></tr>
<tr><td class="topAlign"><code>QChar::Symbol_Modifier</code></td><td class="topAlign tblval"><code>28</code></td><td class="topAlign">Unicode class name Sk</td></tr>
<tr><td class="topAlign"><code>QChar::Symbol_Other</code></td><td class="topAlign tblval"><code>29</code></td><td class="topAlign">Unicode class name So</td></tr>
</table></div>
<p><b>See also </b><a href="qchar.html#category">category</a>().</p>
<!-- @@@Category -->
<!-- $$$Decomposition$$$NoDecomposition$$$Canonical$$$Font$$$NoBreak$$$Initial$$$Medial$$$Final$$$Isolated$$$Circle$$$Super$$$Sub$$$Vertical$$$Wide$$$Narrow$$$Small$$$Square$$$Compat$$$Fraction -->
<h3 class="fn" id="Decomposition-enum"><a name="Decomposition-enum"></a>enum QChar::<span class="name">Decomposition</span></h3>
<p>This enum type defines the Unicode decomposition 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::NoDecomposition</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>QChar::Canonical</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>QChar::Circle</code></td><td class="topAlign tblval"><code>8</code></td></tr>
<tr><td class="topAlign"><code>QChar::Compat</code></td><td class="topAlign tblval"><code>16</code></td></tr>
<tr><td class="topAlign"><code>QChar::Final</code></td><td class="topAlign tblval"><code>6</code></td></tr>
<tr><td class="topAlign"><code>QChar::Font</code></td><td class="topAlign tblval"><code>2</code></td></tr>
<tr><td class="topAlign"><code>QChar::Fraction</code></td><td class="topAlign tblval"><code>17</code></td></tr>
<tr><td class="topAlign"><code>QChar::Initial</code></td><td class="topAlign tblval"><code>4</code></td></tr>
<tr><td class="topAlign"><code>QChar::Isolated</code></td><td class="topAlign tblval"><code>7</code></td></tr>
<tr><td class="topAlign"><code>QChar::Medial</code></td><td class="topAlign tblval"><code>5</code></td></tr>
<tr><td class="topAlign"><code>QChar::Narrow</code></td><td class="topAlign tblval"><code>13</code></td></tr>
<tr><td class="topAlign"><code>QChar::NoBreak</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>QChar::Small</code></td><td class="topAlign tblval"><code>14</code></td></tr>
<tr><td class="topAlign"><code>QChar::Square</code></td><td class="topAlign tblval"><code>15</code></td></tr>
<tr><td class="topAlign"><code>QChar::Sub</code></td><td class="topAlign tblval"><code>10</code></td></tr>
<tr><td class="topAlign"><code>QChar::Super</code></td><td class="topAlign tblval"><code>9</code></td></tr>
<tr><td class="topAlign"><code>QChar::Vertical</code></td><td class="topAlign tblval"><code>11</code></td></tr>
<tr><td class="topAlign"><code>QChar::Wide</code></td><td class="topAlign tblval"><code>12</code></td></tr>
</table></div>
<p><b>See also </b><a href="qchar.html#decomposition">decomposition</a>().</p>
<!-- @@@Decomposition -->
<!-- $$$Direction$$$DirL$$$DirR$$$DirEN$$$DirES$$$DirET$$$DirAN$$$DirCS$$$DirB$$$DirS$$$DirWS$$$DirON$$$DirLRE$$$DirLRO$$$DirAL$$$DirRLE$$$DirRLO$$$DirPDF$$$DirNSM$$$DirBN$$$DirLRI$$$DirRLI$$$DirFSI$$$DirPDI -->
<h3 class="fn" id="Direction-enum"><a name="Direction-enum"></a>enum QChar::<span class="name">Direction</span></h3>
<p>This enum type defines the Unicode direction attributes. See the <a href="http://www.unicode.org/reports/tr9/tr9-35.html#Table_Bidirectional_Character_Types">Unicode Standard</a> for a description of the values.</p>
<p>In order to conform to C/C++ naming conventions &quot;Dir&quot; is prepended to the codes used in the Unicode Standard.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QChar::DirAL</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirAN</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirB</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirBN</code></td><td class="topAlign tblval"><code>18</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirCS</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirEN</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirES</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirET</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirFSI</code></td><td class="topAlign tblval"><code>21</code></td><td class="topAlign">Since Qt 5.3</td></tr>
<tr><td class="topAlign"><code>QChar::DirL</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirLRE</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirLRI</code></td><td class="topAlign tblval"><code>19</code></td><td class="topAlign">Since Qt 5.3</td></tr>
<tr><td class="topAlign"><code>QChar::DirLRO</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirNSM</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirON</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirPDF</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirPDI</code></td><td class="topAlign tblval"><code>22</code></td><td class="topAlign">Since Qt 5.3</td></tr>
<tr><td class="topAlign"><code>QChar::DirR</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirRLE</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirRLI</code></td><td class="topAlign tblval"><code>20</code></td><td class="topAlign">Since Qt 5.3</td></tr>
<tr><td class="topAlign"><code>QChar::DirRLO</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirS</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::DirWS</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">&nbsp;</td></tr>
</table></div>
<p><b>See also </b><a href="qchar.html#direction">direction</a>().</p>
<!-- @@@Direction -->
<!-- $$$JoiningType$$$Joining_None$$$Joining_Causing$$$Joining_Dual$$$Joining_Right$$$Joining_Left$$$Joining_Transparent -->
<h3 class="fn" id="JoiningType-enum"><a name="JoiningType-enum"></a>enum QChar::<span class="name">JoiningType</span></h3>
<p>since 5.3</p>
<p>This enum type defines the Unicode joining type attributes. See the <a href="http://www.unicode.org/">Unicode Standard</a> for a description of the values.</p>
<p>In order to conform to C/C++ naming conventions &quot;Joining_&quot; is prepended to the codes used in the Unicode Standard.</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::Joining_None</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>QChar::Joining_Causing</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>QChar::Joining_Dual</code></td><td class="topAlign tblval"><code>2</code></td></tr>
<tr><td class="topAlign"><code>QChar::Joining_Right</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>QChar::Joining_Left</code></td><td class="topAlign tblval"><code>4</code></td></tr>
<tr><td class="topAlign"><code>QChar::Joining_Transparent</code></td><td class="topAlign tblval"><code>5</code></td></tr>
</table></div>
<p><b>See also </b><a href="qchar.html#joiningType">joiningType</a>().</p>
<!-- @@@JoiningType -->
<!-- $$$Script$$$Script_Unknown$$$Script_Inherited$$$Script_Common$$$Script_Latin$$$Script_Greek$$$Script_Cyrillic$$$Script_Armenian$$$Script_Hebrew$$$Script_Arabic$$$Script_Syriac$$$Script_Thaana$$$Script_Devanagari$$$Script_Bengali$$$Script_Gurmukhi$$$Script_Gujarati$$$Script_Oriya$$$Script_Tamil$$$Script_Telugu$$$Script_Kannada$$$Script_Malayalam$$$Script_Sinhala$$$Script_Thai$$$Script_Lao$$$Script_Tibetan$$$Script_Myanmar$$$Script_Georgian$$$Script_Hangul$$$Script_Ethiopic$$$Script_Cherokee$$$Script_CanadianAboriginal$$$Script_Ogham$$$Script_Runic$$$Script_Khmer$$$Script_Mongolian$$$Script_Hiragana$$$Script_Katakana$$$Script_Bopomofo$$$Script_Han$$$Script_Yi$$$Script_OldItalic$$$Script_Gothic$$$Script_Deseret$$$Script_Tagalog$$$Script_Hanunoo$$$Script_Buhid$$$Script_Tagbanwa$$$Script_Coptic$$$Script_Limbu$$$Script_TaiLe$$$Script_LinearB$$$Script_Ugaritic$$$Script_Shavian$$$Script_Osmanya$$$Script_Cypriot$$$Script_Braille$$$Script_Buginese$$$Script_NewTaiLue$$$Script_Glagolitic$$$Script_Tifinagh$$$Script_SylotiNagri$$$Script_OldPersian$$$Script_Kharoshthi$$$Script_Balinese$$$Script_Cuneiform$$$Script_Phoenician$$$Script_PhagsPa$$$Script_Nko$$$Script_Sundanese$$$Script_Lepcha$$$Script_OlChiki$$$Script_Vai$$$Script_Saurashtra$$$Script_KayahLi$$$Script_Rejang$$$Script_Lycian$$$Script_Carian$$$Script_Lydian$$$Script_Cham$$$Script_TaiTham$$$Script_TaiViet$$$Script_Avestan$$$Script_EgyptianHieroglyphs$$$Script_Samaritan$$$Script_Lisu$$$Script_Bamum$$$Script_Javanese$$$Script_MeeteiMayek$$$Script_ImperialAramaic$$$Script_OldSouthArabian$$$Script_InscriptionalParthian$$$Script_InscriptionalPahlavi$$$Script_OldTurkic$$$Script_Kaithi$$$Script_Batak$$$Script_Brahmi$$$Script_Mandaic$$$Script_Chakma$$$Script_MeroiticCursive$$$Script_MeroiticHieroglyphs$$$Script_Miao$$$Script_Sharada$$$Script_SoraSompeng$$$Script_Takri$$$Script_CaucasianAlbanian$$$Script_BassaVah$$$Script_Duployan$$$Script_Elbasan$$$Script_Grantha$$$Script_PahawhHmong$$$Script_Khojki$$$Script_LinearA$$$Script_Mahajani$$$Script_Manichaean$$$Script_MendeKikakui$$$Script_Modi$$$Script_Mro$$$Script_OldNorthArabian$$$Script_Nabataean$$$Script_Palmyrene$$$Script_PauCinHau$$$Script_OldPermic$$$Script_PsalterPahlavi$$$Script_Siddham$$$Script_Khudawadi$$$Script_Tirhuta$$$Script_WarangCiti$$$Script_Ahom$$$Script_AnatolianHieroglyphs$$$Script_Hatran$$$Script_Multani$$$Script_OldHungarian$$$Script_SignWriting$$$ScriptCount -->
<h3 class="fn" id="Script-enum"><a name="Script-enum"></a>enum QChar::<span class="name">Script</span></h3>
<p>This enum type defines the Unicode script property values.</p>
<p>For details about the Unicode script property values see <a href="http://www.unicode.org/reports/tr24/">Unicode Standard Annex #24</a>.</p>
<p>In order to conform to C/C++ naming conventions &quot;Script_&quot; is prepended to the codes used in the Unicode Standard.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QChar::Script_Unknown</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">For unassigned, private-use, noncharacter, and surrogate code points.</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Inherited</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">For characters that may be used with multiple scripts and that inherit their script from the preceding characters. These include nonspacing marks, enclosing marks, and zero width joiner/non-joiner characters.</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Common</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">For characters that may be used with multiple scripts and that do not inherit their script from the preceding characters.</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Latin</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Greek</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Cyrillic</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Armenian</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Hebrew</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Arabic</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Syriac</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Thaana</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Devanagari</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Bengali</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Gurmukhi</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Gujarati</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Oriya</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Tamil</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Telugu</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Kannada</code></td><td class="topAlign tblval"><code>18</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Malayalam</code></td><td class="topAlign tblval"><code>19</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Sinhala</code></td><td class="topAlign tblval"><code>20</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Thai</code></td><td class="topAlign tblval"><code>21</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Lao</code></td><td class="topAlign tblval"><code>22</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Tibetan</code></td><td class="topAlign tblval"><code>23</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Myanmar</code></td><td class="topAlign tblval"><code>24</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Georgian</code></td><td class="topAlign tblval"><code>25</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Hangul</code></td><td class="topAlign tblval"><code>26</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Ethiopic</code></td><td class="topAlign tblval"><code>27</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Cherokee</code></td><td class="topAlign tblval"><code>28</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_CanadianAboriginal</code></td><td class="topAlign tblval"><code>29</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Ogham</code></td><td class="topAlign tblval"><code>30</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Runic</code></td><td class="topAlign tblval"><code>31</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Khmer</code></td><td class="topAlign tblval"><code>32</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Mongolian</code></td><td class="topAlign tblval"><code>33</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Hiragana</code></td><td class="topAlign tblval"><code>34</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Katakana</code></td><td class="topAlign tblval"><code>35</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Bopomofo</code></td><td class="topAlign tblval"><code>36</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Han</code></td><td class="topAlign tblval"><code>37</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Yi</code></td><td class="topAlign tblval"><code>38</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldItalic</code></td><td class="topAlign tblval"><code>39</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Gothic</code></td><td class="topAlign tblval"><code>40</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Deseret</code></td><td class="topAlign tblval"><code>41</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Tagalog</code></td><td class="topAlign tblval"><code>42</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Hanunoo</code></td><td class="topAlign tblval"><code>43</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Buhid</code></td><td class="topAlign tblval"><code>44</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Tagbanwa</code></td><td class="topAlign tblval"><code>45</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Coptic</code></td><td class="topAlign tblval"><code>46</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Limbu</code></td><td class="topAlign tblval"><code>47</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_TaiLe</code></td><td class="topAlign tblval"><code>48</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_LinearB</code></td><td class="topAlign tblval"><code>49</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Ugaritic</code></td><td class="topAlign tblval"><code>50</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Shavian</code></td><td class="topAlign tblval"><code>51</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Osmanya</code></td><td class="topAlign tblval"><code>52</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Cypriot</code></td><td class="topAlign tblval"><code>53</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Braille</code></td><td class="topAlign tblval"><code>54</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Buginese</code></td><td class="topAlign tblval"><code>55</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_NewTaiLue</code></td><td class="topAlign tblval"><code>56</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Glagolitic</code></td><td class="topAlign tblval"><code>57</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Tifinagh</code></td><td class="topAlign tblval"><code>58</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_SylotiNagri</code></td><td class="topAlign tblval"><code>59</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldPersian</code></td><td class="topAlign tblval"><code>60</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Kharoshthi</code></td><td class="topAlign tblval"><code>61</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Balinese</code></td><td class="topAlign tblval"><code>62</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Cuneiform</code></td><td class="topAlign tblval"><code>63</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Phoenician</code></td><td class="topAlign tblval"><code>64</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_PhagsPa</code></td><td class="topAlign tblval"><code>65</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Nko</code></td><td class="topAlign tblval"><code>66</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Sundanese</code></td><td class="topAlign tblval"><code>67</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Lepcha</code></td><td class="topAlign tblval"><code>68</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OlChiki</code></td><td class="topAlign tblval"><code>69</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Vai</code></td><td class="topAlign tblval"><code>70</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Saurashtra</code></td><td class="topAlign tblval"><code>71</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_KayahLi</code></td><td class="topAlign tblval"><code>72</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Rejang</code></td><td class="topAlign tblval"><code>73</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Lycian</code></td><td class="topAlign tblval"><code>74</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Carian</code></td><td class="topAlign tblval"><code>75</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Lydian</code></td><td class="topAlign tblval"><code>76</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Cham</code></td><td class="topAlign tblval"><code>77</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_TaiTham</code></td><td class="topAlign tblval"><code>78</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_TaiViet</code></td><td class="topAlign tblval"><code>79</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Avestan</code></td><td class="topAlign tblval"><code>80</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_EgyptianHieroglyphs</code></td><td class="topAlign tblval"><code>81</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Samaritan</code></td><td class="topAlign tblval"><code>82</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Lisu</code></td><td class="topAlign tblval"><code>83</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Bamum</code></td><td class="topAlign tblval"><code>84</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Javanese</code></td><td class="topAlign tblval"><code>85</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_MeeteiMayek</code></td><td class="topAlign tblval"><code>86</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_ImperialAramaic</code></td><td class="topAlign tblval"><code>87</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldSouthArabian</code></td><td class="topAlign tblval"><code>88</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_InscriptionalParthian</code></td><td class="topAlign tblval"><code>89</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_InscriptionalPahlavi</code></td><td class="topAlign tblval"><code>90</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldTurkic</code></td><td class="topAlign tblval"><code>91</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Kaithi</code></td><td class="topAlign tblval"><code>92</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Batak</code></td><td class="topAlign tblval"><code>93</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Brahmi</code></td><td class="topAlign tblval"><code>94</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Mandaic</code></td><td class="topAlign tblval"><code>95</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Chakma</code></td><td class="topAlign tblval"><code>96</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_MeroiticCursive</code></td><td class="topAlign tblval"><code>97</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_MeroiticHieroglyphs</code></td><td class="topAlign tblval"><code>98</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Miao</code></td><td class="topAlign tblval"><code>99</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Sharada</code></td><td class="topAlign tblval"><code>100</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_SoraSompeng</code></td><td class="topAlign tblval"><code>101</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Takri</code></td><td class="topAlign tblval"><code>102</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_CaucasianAlbanian</code></td><td class="topAlign tblval"><code>103</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_BassaVah</code></td><td class="topAlign tblval"><code>104</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Duployan</code></td><td class="topAlign tblval"><code>105</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Elbasan</code></td><td class="topAlign tblval"><code>106</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Grantha</code></td><td class="topAlign tblval"><code>107</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_PahawhHmong</code></td><td class="topAlign tblval"><code>108</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Khojki</code></td><td class="topAlign tblval"><code>109</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_LinearA</code></td><td class="topAlign tblval"><code>110</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Mahajani</code></td><td class="topAlign tblval"><code>111</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Manichaean</code></td><td class="topAlign tblval"><code>112</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_MendeKikakui</code></td><td class="topAlign tblval"><code>113</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Modi</code></td><td class="topAlign tblval"><code>114</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Mro</code></td><td class="topAlign tblval"><code>115</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldNorthArabian</code></td><td class="topAlign tblval"><code>116</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Nabataean</code></td><td class="topAlign tblval"><code>117</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Palmyrene</code></td><td class="topAlign tblval"><code>118</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_PauCinHau</code></td><td class="topAlign tblval"><code>119</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldPermic</code></td><td class="topAlign tblval"><code>120</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_PsalterPahlavi</code></td><td class="topAlign tblval"><code>121</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Siddham</code></td><td class="topAlign tblval"><code>122</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Khudawadi</code></td><td class="topAlign tblval"><code>123</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Tirhuta</code></td><td class="topAlign tblval"><code>124</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_WarangCiti</code></td><td class="topAlign tblval"><code>125</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Ahom</code></td><td class="topAlign tblval"><code>126</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_AnatolianHieroglyphs</code></td><td class="topAlign tblval"><code>127</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Hatran</code></td><td class="topAlign tblval"><code>128</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_Multani</code></td><td class="topAlign tblval"><code>129</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_OldHungarian</code></td><td class="topAlign tblval"><code>130</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Script_SignWriting</code></td><td class="topAlign tblval"><code>131</code></td><td class="topAlign">&nbsp;</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.1.</p>
<p><b>See also </b><a href="qchar.html#script">script</a>().</p>
<!-- @@@Script -->
<!-- $$$SpecialCharacter$$$Null$$$Tabulation$$$LineFeed$$$CarriageReturn$$$Space$$$Nbsp$$$SoftHyphen$$$ReplacementCharacter$$$ObjectReplacementCharacter$$$ByteOrderMark$$$ByteOrderSwapped$$$ParagraphSeparator$$$LineSeparator$$$LastValidCodePoint -->
<h3 class="fn" id="SpecialCharacter-enum"><a name="SpecialCharacter-enum"></a>enum QChar::<span class="name">SpecialCharacter</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QChar::Null</code></td><td class="topAlign tblval"><code>0x0000</code></td><td class="topAlign">A <a href="qchar.html">QChar</a> with this value <a href="qchar.html#isNull">isNull</a>().</td></tr>
<tr><td class="topAlign"><code>QChar::Tabulation</code></td><td class="topAlign tblval"><code>0x0009</code></td><td class="topAlign">Character tabulation.</td></tr>
<tr><td class="topAlign"><code>QChar::LineFeed</code></td><td class="topAlign tblval"><code>0x000a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::CarriageReturn</code></td><td class="topAlign tblval"><code>0x000d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Space</code></td><td class="topAlign tblval"><code>0x0020</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::Nbsp</code></td><td class="topAlign tblval"><code>0x00a0</code></td><td class="topAlign">Non-breaking space.</td></tr>
<tr><td class="topAlign"><code>QChar::SoftHyphen</code></td><td class="topAlign tblval"><code>0x00ad</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::ReplacementCharacter</code></td><td class="topAlign tblval"><code>0xfffd</code></td><td class="topAlign">The character shown when a font has no glyph for a certain codepoint. A special question mark character is often used. Codecs use this codepoint when input data cannot be represented in Unicode.</td></tr>
<tr><td class="topAlign"><code>QChar::ObjectReplacementCharacter</code></td><td class="topAlign tblval"><code>0xfffc</code></td><td class="topAlign">Used to represent an object such as an image when such objects cannot be presented.</td></tr>
<tr><td class="topAlign"><code>QChar::ByteOrderMark</code></td><td class="topAlign tblval"><code>0xfeff</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::ByteOrderSwapped</code></td><td class="topAlign tblval"><code>0xfffe</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::ParagraphSeparator</code></td><td class="topAlign tblval"><code>0x2029</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::LineSeparator</code></td><td class="topAlign tblval"><code>0x2028</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>QChar::LastValidCodePoint</code></td><td class="topAlign tblval"><code>0x10ffff</code></td><td class="topAlign">&nbsp;</td></tr>
</table></div>
<!-- @@@SpecialCharacter -->
<!-- $$$UnicodeVersion$$$Unicode_Unassigned$$$Unicode_1_1$$$Unicode_2_0$$$Unicode_2_1_2$$$Unicode_3_0$$$Unicode_3_1$$$Unicode_3_2$$$Unicode_4_0$$$Unicode_4_1$$$Unicode_5_0$$$Unicode_5_1$$$Unicode_5_2$$$Unicode_6_0$$$Unicode_6_1$$$Unicode_6_2$$$Unicode_6_3$$$Unicode_7_0$$$Unicode_8_0 -->
<h3 class="fn" id="UnicodeVersion-enum"><a name="UnicodeVersion-enum"></a>enum QChar::<span class="name">UnicodeVersion</span></h3>
<p>Specifies which version of the <a href="http://www.unicode.org/">Unicode standard</a> introduced a certain character.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QChar::Unicode_1_1</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Version 1.1</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_2_0</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Version 2.0</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_2_1_2</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Version 2.1&#x2e;2</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_3_0</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Version 3.0</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_3_1</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Version 3.1</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_3_2</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Version 3.2</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_4_0</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">Version 4.0</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_4_1</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Version 4.1</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_5_0</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">Version 5.0</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_5_1</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">Version 5.1</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_5_2</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign">Version 5.2</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_6_0</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">Version 6.0</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_6_1</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign">Version 6.1</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_6_2</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">Version 6.2</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_6_3</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign">Version 6.3 Since Qt 5.3</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_7_0</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">Version 7.0 Since Qt 5.5</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_8_0</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign">Version 8.0 Since Qt 5.6</td></tr>
<tr><td class="topAlign"><code>QChar::Unicode_Unassigned</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The value is not assigned to any character in version 8.0 of Unicode.</td></tr>
</table></div>
<p><b>See also </b><a href="qchar.html#unicodeVersion">unicodeVersion</a>() and <a href="qchar.html#currentUnicodeVersion">currentUnicodeVersion</a>().</p>
<!-- @@@UnicodeVersion -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QChar[overload1]$$$QChar -->
<h3 class="fn" id="QChar"><a name="QChar"></a>QChar::<span class="name">QChar</span>()</h3>
<p>Constructs a null <a href="qchar.html">QChar</a> ('\0').</p>
<p><b>See also </b><a href="qchar.html#isNull">isNull</a>().</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharushort -->
<h3 class="fn" id="QChar-1"><a name="QChar-1"></a>QChar::<span class="name">QChar</span>(<span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> <i>code</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> for the character with Unicode code point <i>code</i>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharucharuchar -->
<h3 class="fn" id="QChar-2"><a name="QChar-2"></a>QChar::<span class="name">QChar</span>(<span class="type"><a href="qtglobal.html#uchar-typedef">uchar</a></span> <i>cell</i>, <span class="type"><a href="qtglobal.html#uchar-typedef">uchar</a></span> <i>row</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> for Unicode cell <i>cell</i> in row <i>row</i>.</p>
<p><b>See also </b><a href="qchar.html#cell">cell</a>() and <a href="qchar.html#row">row</a>().</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharshort -->
<h3 class="fn" id="QChar-3"><a name="QChar-3"></a>QChar::<span class="name">QChar</span>(<span class="type">short</span> <i>code</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> for the character with Unicode code point <i>code</i>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharuint -->
<h3 class="fn" id="QChar-4"><a name="QChar-4"></a>QChar::<span class="name">QChar</span>(<span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> <i>code</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> for the character with Unicode code point <i>code</i>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharint -->
<h3 class="fn" id="QChar-5"><a name="QChar-5"></a>QChar::<span class="name">QChar</span>(<span class="type">int</span> <i>code</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> for the character with Unicode code point <i>code</i>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharSpecialCharacter -->
<h3 class="fn" id="QChar-6"><a name="QChar-6"></a>QChar::<span class="name">QChar</span>(<span class="type"><a href="qchar.html#SpecialCharacter-enum">SpecialCharacter</a></span> <i>ch</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> for the predefined character value <i>ch</i>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharQLatin1Char -->
<h3 class="fn" id="QChar-7"><a name="QChar-7"></a>QChar::<span class="name">QChar</span>(<span class="type"><a href="qlatin1char.html">QLatin1Char</a></span> <i>ch</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> corresponding to ASCII/Latin-1 character <i>ch</i>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharchar -->
<h3 class="fn" id="QChar-8"><a name="QChar-8"></a>QChar::<span class="name">QChar</span>(<span class="type">char</span> <i>ch</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> corresponding to ASCII/Latin-1 character <i>ch</i>.</p>
<p><b>Note: </b>This constructor is not available when <code>QT_NO_CAST_FROM_ASCII</code> is defined.</p><p><b>See also </b><a href="qstring.html#QT_NO_CAST_FROM_ASCII">QT_NO_CAST_FROM_ASCII</a>.</p>
<!-- @@@QChar -->
<!-- $$$QChar$$$QCharuchar -->
<h3 class="fn" id="QChar-9"><a name="QChar-9"></a>QChar::<span class="name">QChar</span>(<span class="type"><a href="qtglobal.html#uchar-typedef">uchar</a></span> <i>ch</i>)</h3>
<p>Constructs a <a href="qchar.html">QChar</a> corresponding to ASCII/Latin-1 character <i>ch</i>.</p>
<p><b>Note: </b>This constructor is not available when <code>QT_NO_CAST_FROM_ASCII</code> or <a href="qstring.html#QT_RESTRICTED_CAST_FROM_ASCII">QT_RESTRICTED_CAST_FROM_ASCII</a> is defined.</p><p><b>See also </b><a href="qstring.html#QT_NO_CAST_FROM_ASCII">QT_NO_CAST_FROM_ASCII</a> and <a href="qstring.html#QT_RESTRICTED_CAST_FROM_ASCII">QT_RESTRICTED_CAST_FROM_ASCII</a>.</p>
<!-- @@@QChar -->
<!-- $$$category[overload1]$$$category -->
<h3 class="fn" id="category"><a name="category"></a><span class="type"><a href="qchar.html#Category-enum">Category</a></span> QChar::<span class="name">category</span>() const</h3>
<p>Returns the character's category.</p>
<!-- @@@category -->
<!-- $$$category$$$categoryuint -->
<h3 class="fn" id="category-1"><a name="category-1"></a><code>[static] </code><span class="type"><a href="qchar.html#Category-enum">Category</a></span> QChar::<span class="name">category</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 the category of the UCS-4-encoded character specified by <i>ucs4</i>.</p>
<!-- @@@category -->
<!-- $$$cell[overload1]$$$cell -->
<h3 class="fn" id="cell"><a name="cell"></a><span class="type"><a href="qtglobal.html#uchar-typedef">uchar</a></span> QChar::<span class="name">cell</span>() const</h3>
<p>Returns the cell (least significant byte) of the Unicode character.</p>
<p><b>See also </b><a href="qchar.html#row">row</a>().</p>
<!-- @@@cell -->
<!-- $$$combiningClass[overload1]$$$combiningClass -->
<h3 class="fn" id="combiningClass"><a name="combiningClass"></a><span class="type">unsigned</span> <span class="type">char</span> QChar::<span class="name">combiningClass</span>() const</h3>
<p>Returns the combining class for the character as defined in the Unicode standard. This is mainly useful as a positioning hint for marks attached to a base character.</p>
<p>The Qt text rendering engine uses this information to correctly position non-spacing marks around a base character.</p>
<!-- @@@combiningClass -->
<!-- $$$combiningClass$$$combiningClassuint -->
<h3 class="fn" id="combiningClass-1"><a name="combiningClass-1"></a><code>[static] </code><span class="type">unsigned</span> <span class="type">char</span> QChar::<span class="name">combiningClass</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 the combining class for the UCS-4-encoded character specified by <i>ucs4</i>, as defined in the Unicode standard.</p>
<!-- @@@combiningClass -->
<!-- $$$currentUnicodeVersion[overload1]$$$currentUnicodeVersion -->
<h3 class="fn" id="currentUnicodeVersion"><a name="currentUnicodeVersion"></a><code>[static] </code><span class="type"><a href="qchar.html#UnicodeVersion-enum">UnicodeVersion</a></span> QChar::<span class="name">currentUnicodeVersion</span>()</h3>
<p>Returns the most recent supported Unicode version.</p>
<!-- @@@currentUnicodeVersion -->
<!-- $$$decomposition[overload1]$$$decomposition -->
<h3 class="fn" id="decomposition"><a name="decomposition"></a><span class="type"><a href="qstring.html">QString</a></span> QChar::<span class="name">decomposition</span>() const</h3>
<p>Decomposes a character into it's constituent parts. Returns an empty string if no decomposition exists.</p>
<!-- @@@decomposition -->
<!-- $$$decomposition$$$decompositionuint -->
<h3 class="fn" id="decomposition-1"><a name="decomposition-1"></a><code>[static] </code><span class="type"><a href="qstring.html">QString</a></span> QChar::<span class="name">decomposition</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>Decomposes the UCS-4-encoded character specified by <i>ucs4</i> into it's constituent parts. Returns an empty string if no decomposition exists.</p>
<!-- @@@decomposition -->
<!-- $$$decompositionTag[overload1]$$$decompositionTag -->
<h3 class="fn" id="decompositionTag"><a name="decompositionTag"></a><span class="type"><a href="qchar.html#Decomposition-enum">Decomposition</a></span> QChar::<span class="name">decompositionTag</span>() const</h3>
<p>Returns the tag defining the composition of the character. Returns <a href="qchar.html#Decomposition-enum">QChar::NoDecomposition</a> if no decomposition exists.</p>
<!-- @@@decompositionTag -->
<!-- $$$decompositionTag$$$decompositionTaguint -->
<h3 class="fn" id="decompositionTag-1"><a name="decompositionTag-1"></a><code>[static] </code><span class="type"><a href="qchar.html#Decomposition-enum">Decomposition</a></span> QChar::<span class="name">decompositionTag</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 the tag defining the composition of the UCS-4-encoded character specified by <i>ucs4</i>. Returns <a href="qchar.html#Decomposition-enum">QChar::NoDecomposition</a> if no decomposition exists.</p>
<!-- @@@decompositionTag -->
<!-- $$$digitValue[overload1]$$$digitValue -->
<h3 class="fn" id="digitValue"><a name="digitValue"></a><span class="type">int</span> QChar::<span class="name">digitValue</span>() const</h3>
<p>Returns the numeric value of the digit, or -1 if the character is not a digit.</p>
<!-- @@@digitValue -->
<!-- $$$digitValue$$$digitValueuint -->
<h3 class="fn" id="digitValue-1"><a name="digitValue-1"></a><code>[static] </code><span class="type">int</span> QChar::<span class="name">digitValue</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 the numeric value of the digit specified by the UCS-4-encoded character, <i>ucs4</i>, or -1 if the character is not a digit.</p>
<!-- @@@digitValue -->
<!-- $$$direction[overload1]$$$direction -->
<h3 class="fn" id="direction"><a name="direction"></a><span class="type"><a href="qchar.html#Direction-enum">Direction</a></span> QChar::<span class="name">direction</span>() const</h3>
<p>Returns the character's direction.</p>
<!-- @@@direction -->
<!-- $$$direction$$$directionuint -->
<h3 class="fn" id="direction-1"><a name="direction-1"></a><code>[static] </code><span class="type"><a href="qchar.html#Direction-enum">Direction</a></span> QChar::<span class="name">direction</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 the direction of the UCS-4-encoded character specified by <i>ucs4</i>.</p>
<!-- @@@direction -->
<!-- $$$fromLatin1[overload1]$$$fromLatin1char -->
<h3 class="fn" id="fromLatin1"><a name="fromLatin1"></a><code>[static] </code><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">fromLatin1</span>(<span class="type">char</span> <i>c</i>)</h3>
<p>Converts the Latin-1 character <i>c</i> to its 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#toLatin1">toLatin1</a>() and <a href="qchar.html#unicode">unicode</a>().</p>
<!-- @@@fromLatin1 -->
<!-- $$$hasMirrored[overload1]$$$hasMirrored -->
<h3 class="fn" id="hasMirrored"><a name="hasMirrored"></a><span class="type">bool</span> QChar::<span class="name">hasMirrored</span>() const</h3>
<p>Returns <code>true</code> if the character should be reversed if the text direction is reversed; otherwise returns <code>false</code>.</p>
<p>A bit faster equivalent of (ch.<a href="qchar.html#mirroredChar">mirroredChar</a>() != ch).</p>
<p><b>See also </b><a href="qchar.html#mirroredChar">mirroredChar</a>().</p>
<!-- @@@hasMirrored -->
<!-- $$$hasMirrored$$$hasMirroreduint -->
<h3 class="fn" id="hasMirrored-1"><a name="hasMirrored-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">hasMirrored</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> should be reversed if the text direction is reversed; otherwise returns <code>false</code>.</p>
<p>A bit faster equivalent of (<a href="qchar.html#mirroredChar">QChar::mirroredChar</a>(ucs4) != ucs4).</p>
<p>This function was introduced in  Qt 5.0.</p>
<p><b>See also </b><a href="qchar.html#mirroredChar">mirroredChar</a>().</p>
<!-- @@@hasMirrored -->
<!-- $$$highSurrogate[overload1]$$$highSurrogateuint -->
<h3 class="fn" id="highSurrogate"><a name="highSurrogate"></a><code>[static] </code><span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> QChar::<span class="name">highSurrogate</span>(<span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> <i>ucs4</i>)</h3>
<p>Returns the high surrogate part of a UCS-4-encoded code point. The returned result is undefined if <i>ucs4</i> is smaller than 0x10000.</p>
<!-- @@@highSurrogate -->
<!-- $$$isDigit[overload1]$$$isDigit -->
<h3 class="fn" id="isDigit"><a name="isDigit"></a><span class="type">bool</span> QChar::<span class="name">isDigit</span>() const</h3>
<p>Returns <code>true</code> if the character is a decimal digit (<a href="qchar.html#Category-enum">Number_DecimalDigit</a>); otherwise returns <code>false</code>.</p>
<p><b>See also </b><a href="qchar.html#isNumber">isNumber</a>().</p>
<!-- @@@isDigit -->
<!-- $$$isDigit$$$isDigituint -->
<h3 class="fn" id="isDigit-1"><a name="isDigit-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isDigit</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a decimal digit (<a href="qchar.html#Category-enum">Number_DecimalDigit</a>); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<p><b>See also </b><a href="qchar.html#isNumber">isNumber</a>().</p>
<!-- @@@isDigit -->
<!-- $$$isHighSurrogate[overload1]$$$isHighSurrogate -->
<h3 class="fn" id="isHighSurrogate"><a name="isHighSurrogate"></a><span class="type">bool</span> QChar::<span class="name">isHighSurrogate</span>() const</h3>
<p>Returns <code>true</code> if the <a href="qchar.html">QChar</a> is the high part of a UTF16 surrogate (for example if its code point is in range [0xd800..0xdbff]); false otherwise.</p>
<!-- @@@isHighSurrogate -->
<!-- $$$isHighSurrogate$$$isHighSurrogateuint -->
<h3 class="fn" id="isHighSurrogate-1"><a name="isHighSurrogate-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isHighSurrogate</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is the high part of a UTF16 surrogate (for example if its code point is in range [0xd800..0xdbff]); false otherwise.</p>
<!-- @@@isHighSurrogate -->
<!-- $$$isLetter[overload1]$$$isLetter -->
<h3 class="fn" id="isLetter"><a name="isLetter"></a><span class="type">bool</span> QChar::<span class="name">isLetter</span>() const</h3>
<p>Returns <code>true</code> if the character is a letter (Letter_* categories); otherwise returns <code>false</code>.</p>
<!-- @@@isLetter -->
<!-- $$$isLetter$$$isLetteruint -->
<h3 class="fn" id="isLetter-1"><a name="isLetter-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isLetter</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a letter (Letter_* categories); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isLetter -->
<!-- $$$isLetterOrNumber[overload1]$$$isLetterOrNumber -->
<h3 class="fn" id="isLetterOrNumber"><a name="isLetterOrNumber"></a><span class="type">bool</span> QChar::<span class="name">isLetterOrNumber</span>() const</h3>
<p>Returns <code>true</code> if the character is a letter or number (Letter_* or <a href="../qtwidgets/stylesheet-reference.html#number">Number_</a>* categories); otherwise returns <code>false</code>.</p>
<!-- @@@isLetterOrNumber -->
<!-- $$$isLetterOrNumber$$$isLetterOrNumberuint -->
<h3 class="fn" id="isLetterOrNumber-1"><a name="isLetterOrNumber-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isLetterOrNumber</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a letter or number (Letter_* or <a href="../qtwidgets/stylesheet-reference.html#number">Number_</a>* categories); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isLetterOrNumber -->
<!-- $$$isLowSurrogate[overload1]$$$isLowSurrogate -->
<h3 class="fn" id="isLowSurrogate"><a name="isLowSurrogate"></a><span class="type">bool</span> QChar::<span class="name">isLowSurrogate</span>() const</h3>
<p>Returns <code>true</code> if the <a href="qchar.html">QChar</a> is the low part of a UTF16 surrogate (for example if its code point is in range [0xdc00..0xdfff]); false otherwise.</p>
<!-- @@@isLowSurrogate -->
<!-- $$$isLowSurrogate$$$isLowSurrogateuint -->
<h3 class="fn" id="isLowSurrogate-1"><a name="isLowSurrogate-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isLowSurrogate</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is the low part of a UTF16 surrogate (for example if its code point is in range [0xdc00..0xdfff]); false otherwise.</p>
<!-- @@@isLowSurrogate -->
<!-- $$$isLower[overload1]$$$isLower -->
<h3 class="fn" id="isLower"><a name="isLower"></a><span class="type">bool</span> QChar::<span class="name">isLower</span>() const</h3>
<p>Returns <code>true</code> if the character is a lowercase letter, for example <a href="qchar.html#category">category</a>() is <a href="qchar.html#Category-enum">Letter_Lowercase</a>.</p>
<p><b>See also </b><a href="qchar.html#isUpper">isUpper</a>(), <a href="qchar.html#toLower">toLower</a>(), and <a href="qchar.html#toUpper">toUpper</a>().</p>
<!-- @@@isLower -->
<!-- $$$isLower$$$isLoweruint -->
<h3 class="fn" id="isLower-1"><a name="isLower-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isLower</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a lowercase letter, for example <a href="qchar.html#category">category</a>() is <a href="qchar.html#Category-enum">Letter_Lowercase</a>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<p><b>See also </b><a href="qchar.html#isUpper">isUpper</a>(), <a href="qchar.html#toLower">toLower</a>(), and <a href="qchar.html#toUpper">toUpper</a>().</p>
<!-- @@@isLower -->
<!-- $$$isMark[overload1]$$$isMark -->
<h3 class="fn" id="isMark"><a name="isMark"></a><span class="type">bool</span> QChar::<span class="name">isMark</span>() const</h3>
<p>Returns <code>true</code> if the character is a mark (Mark_* categories); otherwise returns <code>false</code>.</p>
<p>See <a href="qchar.html#Category-enum">QChar::Category</a> for more information regarding marks.</p>
<!-- @@@isMark -->
<!-- $$$isMark$$$isMarkuint -->
<h3 class="fn" id="isMark-1"><a name="isMark-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isMark</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a mark (Mark_* categories); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isMark -->
<!-- $$$isNonCharacter[overload1]$$$isNonCharacter -->
<h3 class="fn" id="isNonCharacter"><a name="isNonCharacter"></a><span class="type">bool</span> QChar::<span class="name">isNonCharacter</span>() const</h3>
<p>Returns <code>true</code> if the <a href="qchar.html">QChar</a> is a non-character; false otherwise.</p>
<p>Unicode has a certain number of code points that are classified as &quot;non-characters:&quot; that is, they can be used for internal purposes in applications but cannot be used for text interchange. Those are the last two entries each Unicode Plane ([0xfffe..0xffff], [0x1fffe..0x1ffff], etc.) as well as the entries in range [0xfdd0..0xfdef].</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isNonCharacter -->
<!-- $$$isNonCharacter$$$isNonCharacteruint -->
<h3 class="fn" id="isNonCharacter-1"><a name="isNonCharacter-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isNonCharacter</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a non-character; false otherwise.</p>
<p>Unicode has a certain number of code points that are classified as &quot;non-characters:&quot; that is, they can be used for internal purposes in applications but cannot be used for text interchange. Those are the last two entries each Unicode Plane ([0xfffe..0xffff], [0x1fffe..0x1ffff], etc.) as well as the entries in range [0xfdd0..0xfdef].</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isNonCharacter -->
<!-- $$$isNull[overload1]$$$isNull -->
<h3 class="fn" id="isNull"><a name="isNull"></a><span class="type">bool</span> QChar::<span class="name">isNull</span>() const</h3>
<p>Returns <code>true</code> if the character is the Unicode character 0x0000 ('\0'); otherwise returns <code>false</code>.</p>
<!-- @@@isNull -->
<!-- $$$isNumber[overload1]$$$isNumber -->
<h3 class="fn" id="isNumber"><a name="isNumber"></a><span class="type">bool</span> QChar::<span class="name">isNumber</span>() const</h3>
<p>Returns <code>true</code> if the character is a number (<a href="../qtwidgets/stylesheet-reference.html#number">Number_</a>* categories, not just 0-9); otherwise returns <code>false</code>.</p>
<p><b>See also </b><a href="qchar.html#isDigit">isDigit</a>().</p>
<!-- @@@isNumber -->
<!-- $$$isNumber$$$isNumberuint -->
<h3 class="fn" id="isNumber-1"><a name="isNumber-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isNumber</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a number (<a href="../qtwidgets/stylesheet-reference.html#number">Number_</a>* categories, not just 0-9); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<p><b>See also </b><a href="qchar.html#isDigit">isDigit</a>().</p>
<!-- @@@isNumber -->
<!-- $$$isPrint[overload1]$$$isPrint -->
<h3 class="fn" id="isPrint"><a name="isPrint"></a><span class="type">bool</span> QChar::<span class="name">isPrint</span>() const</h3>
<p>Returns <code>true</code> if the character is a printable character; otherwise returns <code>false</code>. This is any character not of category Other_*.</p>
<p>Note that this gives no indication of whether the character is available in a particular font.</p>
<!-- @@@isPrint -->
<!-- $$$isPrint$$$isPrintuint -->
<h3 class="fn" id="isPrint-1"><a name="isPrint-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isPrint</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a printable character; otherwise returns <code>false</code>. This is any character not of category Other_*.</p>
<p>Note that this gives no indication of whether the character is available in a particular font.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isPrint -->
<!-- $$$isPunct[overload1]$$$isPunct -->
<h3 class="fn" id="isPunct"><a name="isPunct"></a><span class="type">bool</span> QChar::<span class="name">isPunct</span>() const</h3>
<p>Returns <code>true</code> if the character is a punctuation mark (Punctuation_* categories); otherwise returns <code>false</code>.</p>
<!-- @@@isPunct -->
<!-- $$$isPunct$$$isPunctuint -->
<h3 class="fn" id="isPunct-1"><a name="isPunct-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isPunct</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a punctuation mark (Punctuation_* categories); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isPunct -->
<!-- $$$isSpace[overload1]$$$isSpace -->
<h3 class="fn" id="isSpace"><a name="isSpace"></a><span class="type">bool</span> QChar::<span class="name">isSpace</span>() const</h3>
<p>Returns <code>true</code> if the character is a separator character (Separator_* categories or certain code points from <a href="qchar.html#Category-enum">Other_Control</a> category); otherwise returns <code>false</code>.</p>
<!-- @@@isSpace -->
<!-- $$$isSpace$$$isSpaceuint -->
<h3 class="fn" id="isSpace-1"><a name="isSpace-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isSpace</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a separator character (Separator_* categories or certain code points from <a href="qchar.html#Category-enum">Other_Control</a> category); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isSpace -->
<!-- $$$isSurrogate[overload1]$$$isSurrogate -->
<h3 class="fn" id="isSurrogate"><a name="isSurrogate"></a><span class="type">bool</span> QChar::<span class="name">isSurrogate</span>() const</h3>
<p>Returns <code>true</code> if the <a href="qchar.html">QChar</a> contains a code point that is in either the high or the low part of the UTF-16 surrogate range (for example if its code point is in range [0xd800..0xdfff]); false otherwise.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isSurrogate -->
<!-- $$$isSurrogate$$$isSurrogateuint -->
<h3 class="fn" id="isSurrogate-1"><a name="isSurrogate-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isSurrogate</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> contains a code point that is in either the high or the low part of the UTF-16 surrogate range (for example if its code point is in range [0xd800..0xdfff]); false otherwise.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isSurrogate -->
<!-- $$$isSymbol[overload1]$$$isSymbol -->
<h3 class="fn" id="isSymbol"><a name="isSymbol"></a><span class="type">bool</span> QChar::<span class="name">isSymbol</span>() const</h3>
<p>Returns <code>true</code> if the character is a symbol (Symbol_* categories); otherwise returns <code>false</code>.</p>
<!-- @@@isSymbol -->
<!-- $$$isSymbol$$$isSymboluint -->
<h3 class="fn" id="isSymbol-1"><a name="isSymbol-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isSymbol</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a symbol (Symbol_* categories); otherwise returns <code>false</code>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<!-- @@@isSymbol -->
<!-- $$$isTitleCase[overload1]$$$isTitleCase -->
<h3 class="fn" id="isTitleCase"><a name="isTitleCase"></a><span class="type">bool</span> QChar::<span class="name">isTitleCase</span>() const</h3>
<p>Returns <code>true</code> if the character is a titlecase letter, for example <a href="qchar.html#category">category</a>() is <a href="qchar.html#Category-enum">Letter_Titlecase</a>.</p>
<p><b>See also </b><a href="qchar.html#isLower">isLower</a>(), <a href="qchar.html#toUpper">toUpper</a>(), <a href="qchar.html#toLower">toLower</a>(), and <a href="qchar.html#toTitleCase">toTitleCase</a>().</p>
<!-- @@@isTitleCase -->
<!-- $$$isTitleCase$$$isTitleCaseuint -->
<h3 class="fn" id="isTitleCase-1"><a name="isTitleCase-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isTitleCase</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is a titlecase letter, for example <a href="qchar.html#category">category</a>() is <a href="qchar.html#Category-enum">Letter_Titlecase</a>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<p><b>See also </b><a href="qchar.html#isLower">isLower</a>(), <a href="qchar.html#toUpper">toUpper</a>(), <a href="qchar.html#toLower">toLower</a>(), and <a href="qchar.html#toTitleCase">toTitleCase</a>().</p>
<!-- @@@isTitleCase -->
<!-- $$$isUpper[overload1]$$$isUpper -->
<h3 class="fn" id="isUpper"><a name="isUpper"></a><span class="type">bool</span> QChar::<span class="name">isUpper</span>() const</h3>
<p>Returns <code>true</code> if the character is an uppercase letter, for example <a href="qchar.html#category">category</a>() is <a href="qchar.html#Category-enum">Letter_Uppercase</a>.</p>
<p><b>See also </b><a href="qchar.html#isLower">isLower</a>(), <a href="qchar.html#toUpper">toUpper</a>(), and <a href="qchar.html#toLower">toLower</a>().</p>
<!-- @@@isUpper -->
<!-- $$$isUpper$$$isUpperuint -->
<h3 class="fn" id="isUpper-1"><a name="isUpper-1"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">isUpper</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 <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> is an uppercase letter, for example <a href="qchar.html#category">category</a>() is <a href="qchar.html#Category-enum">Letter_Uppercase</a>.</p>
<p>This function was introduced in  Qt 5.0.</p>
<p><b>See also </b><a href="qchar.html#isLower">isLower</a>(), <a href="qchar.html#toUpper">toUpper</a>(), and <a href="qchar.html#toLower">toLower</a>().</p>
<!-- @@@isUpper -->
<!-- $$$joiningType[overload1]$$$joiningType -->
<h3 class="fn" id="joiningType"><a name="joiningType"></a><span class="type"><a href="qchar.html#JoiningType-enum">JoiningType</a></span> QChar::<span class="name">joiningType</span>() const</h3>
<p>Returns information about the joining type attributes of the character (needed for certain languages such as Arabic or Syriac).</p>
<p>This function was introduced in  Qt 5.3.</p>
<!-- @@@joiningType -->
<!-- $$$joiningType$$$joiningTypeuint -->
<h3 class="fn" id="joiningType-1"><a name="joiningType-1"></a><code>[static] </code><span class="type"><a href="qchar.html#JoiningType-enum">JoiningType</a></span> QChar::<span class="name">joiningType</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 type attributes of the UCS-4-encoded character specified by <i>ucs4</i> (needed for certain languages such as Arabic or Syriac).</p>
<p>This function was introduced in  Qt 5.3.</p>
<!-- @@@joiningType -->
<!-- $$$lowSurrogate[overload1]$$$lowSurrogateuint -->
<h3 class="fn" id="lowSurrogate"><a name="lowSurrogate"></a><code>[static] </code><span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> QChar::<span class="name">lowSurrogate</span>(<span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> <i>ucs4</i>)</h3>
<p>Returns the low surrogate part of a UCS-4-encoded code point. The returned result is undefined if <i>ucs4</i> is smaller than 0x10000.</p>
<!-- @@@lowSurrogate -->
<!-- $$$mirroredChar[overload1]$$$mirroredChar -->
<h3 class="fn" id="mirroredChar"><a name="mirroredChar"></a><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">mirroredChar</span>() const</h3>
<p>Returns the mirrored character if this character is a mirrored character; otherwise returns the character itself.</p>
<p><b>See also </b><a href="qchar.html#hasMirrored">hasMirrored</a>().</p>
<!-- @@@mirroredChar -->
<!-- $$$mirroredChar$$$mirroredCharuint -->
<h3 class="fn" id="mirroredChar-1"><a name="mirroredChar-1"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">mirroredChar</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 the mirrored character if the UCS-4-encoded character specified by <i>ucs4</i> is a mirrored character; otherwise returns the character itself.</p>
<p><b>See also </b><a href="qchar.html#hasMirrored">hasMirrored</a>().</p>
<!-- @@@mirroredChar -->
<!-- $$$requiresSurrogates[overload1]$$$requiresSurrogatesuint -->
<h3 class="fn" id="requiresSurrogates"><a name="requiresSurrogates"></a><code>[static] </code><span class="type">bool</span> QChar::<span class="name">requiresSurrogates</span>(<span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> <i>ucs4</i>)</h3>
<p>Returns <code>true</code> if the UCS-4-encoded character specified by <i>ucs4</i> can be split into the high and low parts of a UTF16 surrogate (for example if its code point is greater than or equals to 0x10000); false otherwise.</p>
<!-- @@@requiresSurrogates -->
<!-- $$$row[overload1]$$$row -->
<h3 class="fn" id="row"><a name="row"></a><span class="type"><a href="qtglobal.html#uchar-typedef">uchar</a></span> QChar::<span class="name">row</span>() const</h3>
<p>Returns the row (most significant byte) of the Unicode character.</p>
<p><b>See also </b><a href="qchar.html#cell">cell</a>().</p>
<!-- @@@row -->
<!-- $$$script[overload1]$$$script -->
<h3 class="fn" id="script"><a name="script"></a><span class="type"><a href="qchar.html#Script-enum">Script</a></span> QChar::<span class="name">script</span>() const</h3>
<p>Returns the Unicode script property value for this character.</p>
<p>This function was introduced in  Qt 5.1.</p>
<!-- @@@script -->
<!-- $$$script$$$scriptuint -->
<h3 class="fn" id="script-1"><a name="script-1"></a><code>[static] </code><span class="type"><a href="qchar.html#Script-enum">Script</a></span> QChar::<span class="name">script</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 the Unicode script property value for the character specified in its UCS-4-encoded form as <i>ucs4</i>.</p>
<p>This function was introduced in  Qt 5.1.</p>
<!-- @@@script -->
<!-- $$$surrogateToUcs4[overload1]$$$surrogateToUcs4ushortushort -->
<h3 class="fn" id="surrogateToUcs4"><a name="surrogateToUcs4"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">surrogateToUcs4</span>(<span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> <i>high</i>, <span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> <i>low</i>)</h3>
<p>Converts a UTF16 surrogate pair with the given <i>high</i> and <i>low</i> values to it's UCS-4-encoded code point.</p>
<!-- @@@surrogateToUcs4 -->
<!-- $$$surrogateToUcs4$$$surrogateToUcs4QCharQChar -->
<h3 class="fn" id="surrogateToUcs4-1"><a name="surrogateToUcs4-1"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">surrogateToUcs4</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>high</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>low</i>)</h3>
<p>This is an overloaded function.</p>
<p>Converts a UTF16 surrogate pair (<i>high</i>, <i>low</i>) to it's UCS-4-encoded code point.</p>
<!-- @@@surrogateToUcs4 -->
<!-- $$$toCaseFolded[overload1]$$$toCaseFolded -->
<h3 class="fn" id="toCaseFolded"><a name="toCaseFolded"></a><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">toCaseFolded</span>() const</h3>
<p>Returns the case folded equivalent of the character. For most Unicode characters this is the same as <a href="qchar.html#toLower">toLower</a>().</p>
<!-- @@@toCaseFolded -->
<!-- $$$toCaseFolded$$$toCaseFoldeduint -->
<h3 class="fn" id="toCaseFolded-1"><a name="toCaseFolded-1"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">toCaseFolded</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 the case folded equivalent of the UCS-4-encoded character specified by <i>ucs4</i>. For most Unicode characters this is the same as <a href="qchar.html#toLower">toLower</a>().</p>
<!-- @@@toCaseFolded -->
<!-- $$$toLatin1[overload1]$$$toLatin1 -->
<h3 class="fn" id="toLatin1"><a name="toLatin1"></a><span class="type">char</span> QChar::<span class="name">toLatin1</span>() const</h3>
<p>Returns the Latin-1 character equivalent to the <a href="qchar.html">QChar</a>, or 0. This is mainly useful for non-internationalized software.</p>
<p><b>Note: </b>It is not possible to distinguish a non-Latin-1 character from a Latin-1 0 (NUL) character. Prefer to use <a href="qchar.html#unicode">unicode</a>(), which does not have this ambiguity.</p><p><b>See also </b><a href="qchar.html#unicode">unicode</a>().</p>
<!-- @@@toLatin1 -->
<!-- $$$toLower[overload1]$$$toLower -->
<h3 class="fn" id="toLower"><a name="toLower"></a><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">toLower</span>() const</h3>
<p>Returns the lowercase equivalent if the character is uppercase or titlecase; otherwise returns the character itself.</p>
<!-- @@@toLower -->
<!-- $$$toLower$$$toLoweruint -->
<h3 class="fn" id="toLower-1"><a name="toLower-1"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">toLower</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 the lowercase equivalent of the UCS-4-encoded character specified by <i>ucs4</i> if the character is uppercase or titlecase; otherwise returns the character itself.</p>
<!-- @@@toLower -->
<!-- $$$toTitleCase[overload1]$$$toTitleCase -->
<h3 class="fn" id="toTitleCase"><a name="toTitleCase"></a><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">toTitleCase</span>() const</h3>
<p>Returns the title case equivalent if the character is lowercase or uppercase; otherwise returns the character itself.</p>
<!-- @@@toTitleCase -->
<!-- $$$toTitleCase$$$toTitleCaseuint -->
<h3 class="fn" id="toTitleCase-1"><a name="toTitleCase-1"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">toTitleCase</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 the title case equivalent of the UCS-4-encoded character specified by <i>ucs4</i> if the character is lowercase or uppercase; otherwise returns the character itself.</p>
<!-- @@@toTitleCase -->
<!-- $$$toUpper[overload1]$$$toUpper -->
<h3 class="fn" id="toUpper"><a name="toUpper"></a><span class="type"><a href="qchar.html#QChar">QChar</a></span> QChar::<span class="name">toUpper</span>() const</h3>
<p>Returns the uppercase equivalent if the character is lowercase or titlecase; otherwise returns the character itself.</p>
<!-- @@@toUpper -->
<!-- $$$toUpper$$$toUpperuint -->
<h3 class="fn" id="toUpper-1"><a name="toUpper-1"></a><code>[static] </code><span class="type"><a href="qtglobal.html#uint-typedef">uint</a></span> QChar::<span class="name">toUpper</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 the uppercase equivalent of the UCS-4-encoded character specified by <i>ucs4</i> if the character is lowercase or titlecase; otherwise returns the character itself.</p>
<!-- @@@toUpper -->
<!-- $$$unicode[overload1]$$$unicode -->
<h3 class="fn" id="unicode"><a name="unicode"></a><span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> QChar::<span class="name">unicode</span>() const</h3>
<p>Returns the numeric Unicode value of the <a href="qchar.html">QChar</a>.</p>
<!-- @@@unicode -->
<!-- $$$unicode$$$unicode -->
<h3 class="fn" id="unicode-1"><a name="unicode-1"></a><span class="type"><a href="qtglobal.html#ushort-typedef">ushort</a></span> &amp;QChar::<span class="name">unicode</span>()</h3>
<p>Returns a reference to the numeric Unicode value of the <a href="qchar.html">QChar</a>.</p>
<!-- @@@unicode -->
<!-- $$$unicodeVersion[overload1]$$$unicodeVersion -->
<h3 class="fn" id="unicodeVersion"><a name="unicodeVersion"></a><span class="type"><a href="qchar.html#UnicodeVersion-enum">UnicodeVersion</a></span> QChar::<span class="name">unicodeVersion</span>() const</h3>
<p>Returns the Unicode version that introduced this character.</p>
<!-- @@@unicodeVersion -->
<!-- $$$unicodeVersion$$$unicodeVersionuint -->
<h3 class="fn" id="unicodeVersion-1"><a name="unicodeVersion-1"></a><code>[static] </code><span class="type"><a href="qchar.html#UnicodeVersion-enum">UnicodeVersion</a></span> QChar::<span class="name">unicodeVersion</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 the Unicode version that introduced the character specified in its UCS-4-encoded form as <i>ucs4</i>.</p>
<!-- @@@unicodeVersion -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</h2>
<!-- $$$operator!=[overload1]$$$operator!=QCharQChar -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> <span class="name">operator!=</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c1</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c2</i>)</h3>
<p>Returns <code>true</code> if <i>c1</i> and <i>c2</i> are not the same Unicode character; otherwise returns <code>false</code>.</p>
<!-- @@@operator!= -->
<!-- $$$operator<[overload1]$$$operator<QCharQChar -->
<h3 class="fn" id="operator-lt"><a name="operator-lt"></a><span class="type">bool</span> <span class="name">operator&lt;</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c1</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c2</i>)</h3>
<p>Returns <code>true</code> if the numeric Unicode value of <i>c1</i> is less than that of <i>c2</i>; otherwise returns <code>false</code>.</p>
<!-- @@@operator< -->
<!-- $$$operator<<[overload1]$$$operator<<QDataStream&QChar -->
<h3 class="fn" id="operator-lt-lt"><a name="operator-lt-lt"></a><span class="type"><a href="qdatastream.html">QDataStream</a></span> &amp;<span class="name">operator&lt;&lt;</span>(<span class="type"><a href="qdatastream.html">QDataStream</a></span> &amp;<i>out</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>chr</i>)</h3>
<p>Writes the char <i>chr</i> to the stream <i>out</i>.</p>
<p><b>See also </b><a href="datastreamformat.html">Serializing Qt Data Types</a>.</p>
<!-- @@@operator<< -->
<!-- $$$operator<=[overload1]$$$operator<=QCharQChar -->
<h3 class="fn" id="operator-lt-eq"><a name="operator-lt-eq"></a><span class="type">bool</span> <span class="name">operator&lt;=</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c1</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c2</i>)</h3>
<p>Returns <code>true</code> if the numeric Unicode value of <i>c1</i> is less than or equal to that of <i>c2</i>; otherwise returns <code>false</code>.</p>
<!-- @@@operator<= -->
<!-- $$$operator==[overload1]$$$operator==QCharQChar -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> <span class="name">operator==</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c1</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c2</i>)</h3>
<p>Returns <code>true</code> if <i>c1</i> and <i>c2</i> are the same Unicode character; otherwise returns <code>false</code>.</p>
<!-- @@@operator== -->
<!-- $$$operator>[overload1]$$$operator>QCharQChar -->
<h3 class="fn" id="operator-gt"><a name="operator-gt"></a><span class="type">bool</span> <span class="name">operator&gt;</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c1</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c2</i>)</h3>
<p>Returns <code>true</code> if the numeric Unicode value of <i>c1</i> is greater than that of <i>c2</i>; otherwise returns <code>false</code>.</p>
<!-- @@@operator> -->
<!-- $$$operator>=[overload1]$$$operator>=QCharQChar -->
<h3 class="fn" id="operator-gt-eq"><a name="operator-gt-eq"></a><span class="type">bool</span> <span class="name">operator&gt;=</span>(<span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c1</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> <i>c2</i>)</h3>
<p>Returns <code>true</code> if the numeric Unicode value of <i>c1</i> is greater than or equal to that of <i>c2</i>; otherwise returns <code>false</code>.</p>
<!-- @@@operator>= -->
<!-- $$$operator>>[overload1]$$$operator>>QDataStream&QChar& -->
<h3 class="fn" id="operator-gt-gt"><a name="operator-gt-gt"></a><span class="type"><a href="qdatastream.html">QDataStream</a></span> &amp;<span class="name">operator&gt;&gt;</span>(<span class="type"><a href="qdatastream.html">QDataStream</a></span> &amp;<i>in</i>, <span class="type"><a href="qchar.html#QChar">QChar</a></span> &amp;<i>chr</i>)</h3>
<p>Reads a char from the stream <i>in</i> into char <i>chr</i>.</p>
<p><b>See also </b><a href="datastreamformat.html">Serializing Qt Data Types</a>.</p>
<!-- @@@operator>> -->
</div>
        </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>