Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 814a2b4c48f3ef6444b2ff5bf854d05a > files > 304

qtconnectivity5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qndefnfctextrecord.cpp -->
  <title>QNdefNfcTextRecord Class | Qt NFC 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtnfc-index.html">Qt NFC</a></td><td ><a href="qtnfc-module.html">C++ Classes</a></td><td >QNdefNfcTextRecord</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtnfc-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QNdefNfcTextRecord Class</h1>
<!-- $$$QNdefNfcTextRecord-brief -->
<p>The <a href="qndefnfctextrecord.html">QNdefNfcTextRecord</a> class provides an NFC RTD-Text. <a href="#details">More...</a></p>
<!-- @@@QNdefNfcTextRecord -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QNdefNfcTextRecord&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += nfc</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qndefrecord.html">QNdefRecord</a></td></tr></table></div><ul>
<li><a href="qndefnfctextrecord-members.html">List of all members, including inherited members</a></li>
</ul>
<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="qndefnfctextrecord.html#Encoding-enum">Encoding</a></b> { Utf8, Utf16 }</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="qndefnfctextrecord.html#QNdefNfcTextRecord">QNdefNfcTextRecord</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#QNdefNfcTextRecord-1">QNdefNfcTextRecord</a></b>(const QNdefRecord &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QNdefNfcTextRecord::Encoding </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#encoding">encoding</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#locale">locale</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#setEncoding">setEncoding</a></b>(QNdefNfcTextRecord::Encoding <i>encoding</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#setLocale">setLocale</a></b>(const QString &amp;<i>locale</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#setText">setText</a></b>(const QString <i>text</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qndefnfctextrecord.html#text">text</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">13 public functions inherited from <a href="qndefrecord.html#public-functions">QNdefRecord</a></li>
</ul>
<a name="details"></a>
<!-- $$$QNdefNfcTextRecord-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qndefnfctextrecord.html">QNdefNfcTextRecord</a> class provides an NFC RTD-Text.</p>
<p>RTD-Text encapsulates a user displayable text record.</p>
</div>
<!-- @@@QNdefNfcTextRecord -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Encoding$$$Utf8$$$Utf16 -->
<h3 class="fn" id="Encoding-enum"><a name="Encoding-enum"></a>enum QNdefNfcTextRecord::<span class="name">Encoding</span></h3>
<p>This enum describes the text encoding standard used.</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>QNdefNfcTextRecord::Utf8</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The text is encoded with UTF-8.</td></tr>
<tr><td class="topAlign"><code>QNdefNfcTextRecord::Utf16</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The text is encoding with UTF-16.</td></tr>
</table></div>
<!-- @@@Encoding -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QNdefNfcTextRecord[overload1]$$$QNdefNfcTextRecord -->
<h3 class="fn" id="QNdefNfcTextRecord"><a name="QNdefNfcTextRecord"></a>QNdefNfcTextRecord::<span class="name">QNdefNfcTextRecord</span>()</h3>
<p>Constructs an empty NFC text record of type <a href="qndefrecord.html#TypeNameFormat-enum">QNdefRecord::NfcRtd</a>.</p>
<!-- @@@QNdefNfcTextRecord -->
<!-- $$$QNdefNfcTextRecord$$$QNdefNfcTextRecordconstQNdefRecord& -->
<h3 class="fn" id="QNdefNfcTextRecord-1"><a name="QNdefNfcTextRecord-1"></a>QNdefNfcTextRecord::<span class="name">QNdefNfcTextRecord</span>(const <span class="type"><a href="qndefrecord.html#QNdefRecord">QNdefRecord</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a new NFC text record that is a copy of <i>other</i>.</p>
<!-- @@@QNdefNfcTextRecord -->
<!-- $$$encoding[overload1]$$$encoding -->
<h3 class="fn" id="encoding"><a name="encoding"></a><span class="type"><a href="qndefnfctextrecord.html#Encoding-enum">QNdefNfcTextRecord::Encoding</a></span> QNdefNfcTextRecord::<span class="name">encoding</span>() const</h3>
<p>Returns the encoding of the contents.</p>
<p><b>See also </b><a href="qndefnfctextrecord.html#setEncoding">setEncoding</a>().</p>
<!-- @@@encoding -->
<!-- $$$locale[overload1]$$$locale -->
<h3 class="fn" id="locale"><a name="locale"></a><span class="type">QString</span> QNdefNfcTextRecord::<span class="name">locale</span>() const</h3>
<p>Returns the locale of the text record.</p>
<p><b>See also </b><a href="qndefnfctextrecord.html#setLocale">setLocale</a>().</p>
<!-- @@@locale -->
<!-- $$$setEncoding[overload1]$$$setEncodingQNdefNfcTextRecord::Encoding -->
<h3 class="fn" id="setEncoding"><a name="setEncoding"></a><span class="type">void</span> QNdefNfcTextRecord::<span class="name">setEncoding</span>(<span class="type"><a href="qndefnfctextrecord.html#Encoding-enum">QNdefNfcTextRecord::Encoding</a></span> <i>encoding</i>)</h3>
<p>Sets the enconding of the contents to <i>encoding</i>.</p>
<p><b>See also </b><a href="qndefnfctextrecord.html#encoding">encoding</a>().</p>
<!-- @@@setEncoding -->
<!-- $$$setLocale[overload1]$$$setLocaleconstQString& -->
<h3 class="fn" id="setLocale"><a name="setLocale"></a><span class="type">void</span> QNdefNfcTextRecord::<span class="name">setLocale</span>(const <span class="type">QString</span> &amp;<i>locale</i>)</h3>
<p>Sets the locale of the text record to <i>locale</i>.</p>
<p><b>See also </b><a href="qndefnfctextrecord.html#locale">locale</a>().</p>
<!-- @@@setLocale -->
<!-- $$$setText[overload1]$$$setTextconstQString -->
<h3 class="fn" id="setText"><a name="setText"></a><span class="type">void</span> QNdefNfcTextRecord::<span class="name">setText</span>(const <span class="type">QString</span> <i>text</i>)</h3>
<p>Sets the contents of the text record to <i>text</i>.</p>
<p><b>See also </b><a href="qndefnfctextrecord.html#text">text</a>().</p>
<!-- @@@setText -->
<!-- $$$text[overload1]$$$text -->
<h3 class="fn" id="text"><a name="text"></a><span class="type">QString</span> QNdefNfcTextRecord::<span class="name">text</span>() const</h3>
<p>Returns the contents of the text record as a string.</p>
<p><b>See also </b><a href="qndefnfctextrecord.html#setText">setText</a>().</p>
<!-- @@@text -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>