Sophie

Sophie

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

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" />
<!-- qdeclarativendeffilter.cpp -->
  <title>Qt Mobility 1.2: QML NdefFilter Element</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="http://qt.nokia.com/doc/4.7/qdeclarativeelements.html">QML Elements</a></li>
<li>QML NdefFilter Element</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QML NdefFilter Element</h1>
<span class="subtitle"></span>
<!-- $$$NdefFilter-brief -->
<p>The NdefFilter element represents a filtering constraint for NDEF message records. <a href="#details">More...</a></p>
<!-- @@@NdefFilter -->
<p>This element was introduced in  Mobility 1.2.</p>
<ul>
<li><a href="qml-ndeffilter-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-ndeffilter.html#maximum-prop">maximum</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-ndeffilter.html#minimum-prop">minimum</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-ndeffilter.html#type-prop">type</a></b></b> : string</li>
</ul>
<!-- $$$NdefFilter-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The NdefFilter element is part of the <b>QtMobility.connectivity 1.2</b> module.</p>
<p>The NdefFilter element is used with the <a href="qml-nearfield.html">NearField</a> element to read NDEF messages from NFC Forum tags that match a given structure.</p>
<pre class="cpp"> NearField {
     filter: <span class="operator">[</span>
         NdefFilter {
             type: <span class="string">&quot;urn:nfc:wkt:U&quot;</span>
             minimum: <span class="number">1</span>
             maximum: <span class="number">1</span>
         }
     <span class="operator">]</span>
 }</pre>
<p><b>See also </b><a href="qml-nearfield.html">NearField</a> and <a href="qndeffilter.html">QNdefFilter</a>.</p>
<!-- @@@NdefFilter -->
<h2>Property Documentation</h2>
<!-- $$$maximum -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="maximum-prop"></a><span class="name">maximum</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the maximum number of records of the given type that must be in the NDEF message for it match.</p>
<p>To match any number of records set both the minimum and maximum properties to -1.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
<p><b>See also </b><a href="qml-ndeffilter.html#minimum-prop">minimum</a>.</p>
</div></div><!-- @@@maximum -->
<br/>
<!-- $$$minimum -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="minimum-prop"></a><span class="name">minimum</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the minimum number of records of the given type that must be in the NDEF message for it match.</p>
<p>To match any number of records set both the minimum and maximum properties to -1.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
<p><b>See also </b><a href="qml-ndeffilter.html#maximum-prop">maximum</a>.</p>
</div></div><!-- @@@minimum -->
<br/>
<!-- $$$type -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="type-prop"></a><span class="name">type</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the NDEF record type that the filter matches. This property must be set to the fully qualified record type, i.e&#x2e; including the NIS and NSS prefixes. For example set to <i>urn:nfc:wkt:U</i> to match NFC RTD-URI records.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@type -->
<br/>
  <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>