Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 1489

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qndefnfctextrecord.cpp -->
  <title>Qt Mobility 1.2: QNdefNfcTextRecord Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtconnectivity.html">QtConnectivity</a></li>
<li>QNdefNfcTextRecord</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<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>
<h1 class="title">QNdefNfcTextRecord Class Reference</h1>
<!-- $$$QNdefNfcTextRecord-brief -->
<p>The QNdefNfcTextRecord class provides an NFC RTD-Text <a href="#details">More...</a></p>
<!-- @@@QNdefNfcTextRecord -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QNdefNfcTextRecord&gt;</span></pre><p><b>Inherits: </b><a href="qndefrecord.html">QNdefRecord</a>.</p>
<p>This class was introduced in Qt Mobility 1.2.</p>
<ul>
<li><a href="qndefnfctextrecord-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<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>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> 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> ( 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>
<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>Detailed Description</h2>
<p>The QNdefNfcTextRecord 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"><a name="Encoding-enum"></a>enum QNdefNfcTextRecord::<span class="name">Encoding</span></h3>
<p>This enum describes the text encoding standard used.</p>
<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"><tt>QNdefNfcTextRecord::Utf8</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The text is encoded with UTF-8.</td></tr>
<tr><td class="topAlign"><tt>QNdefNfcTextRecord::Utf16</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The text is encoding with UTF-16.</td></tr>
</table>
<!-- @@@Encoding -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$encoding[overload1]$$$encoding -->
<h3 class="fn"><a name="encoding"></a><span class="type"><a href="qndefnfctextrecord.html#Encoding-enum">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"><a name="locale"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></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]$$$setEncodingEncoding -->
<h3 class="fn"><a name="setEncoding"></a><span class="type">void</span> QNdefNfcTextRecord::<span class="name">setEncoding</span> ( <span class="type"><a href="qndefnfctextrecord.html#Encoding-enum">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"><a name="setLocale"></a><span class="type">void</span> QNdefNfcTextRecord::<span class="name">setLocale</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></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"><a name="setText"></a><span class="type">void</span> QNdefNfcTextRecord::<span class="name">setText</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></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"><a name="text"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></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 class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used 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.</p>
</div>
</body>
</html>