Sophie

Sophie

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

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" />
<!-- qdeclarativeservice.cpp -->
  <title>Qt Mobility 1.2: QML ServiceList 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 ServiceList Element</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<p class="naviNextPrevious headerNavi">
</p><p/>
<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 ServiceList Element</h1>
<span class="subtitle"></span>
<!-- $$$ServiceList-brief -->
<p>The ServiceList element holds a list of <a href="qml-service.html">Service</a> elements. <a href="#details">More...</a></p>
<!-- @@@ServiceList -->
<p>This element was introduced in  Mobility 1.2.</p>
<ul>
<li><a href="qml-servicelist-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-servicelist.html#interfaceName-prop">interfaceName</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-servicelist.html#majorVersion-prop">majorVersion</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-servicelist.html#minorVersion-prop">minorVersion</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-servicelist.html#serviceName-prop">serviceName</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-servicelist.html#services-prop">services</a></b></b> : QDeclarativeListProperty</li>
<li class="fn"><b><b><a href="qml-servicelist.html#versionMatch-prop">versionMatch</a></b></b> : enumeration</li>
</ul>
<!-- $$$ServiceList-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The ServiceList element is part of the <b>QtMobility.serviceframework 1.1</b> module and provides a list of <a href="qml-service.html">Service</a> elements at the interface <a href="qml-servicelist.html#interfaceName-prop">ServiceList::interfaceName</a> with minimum version match ServiceList::minVersion properties. This list can be used to select the desired service and instantiate a service object for access via the <a href="http://qt.nokia.com/doc/4.7/qmetaobject.html">QMetaObject</a>.</p>
<p>This element is a simplified reflection of the <a href="qservicefilter.html">QServiceFilter</a> class that provides a list of simplified QServiceInterfaceDescriptors. Similarly, if the <a href="qml-servicelist.html#serviceName-prop">ServiceList::serviceName</a> and <a href="qml-servicelist.html#versionMatch-prop">ServiceList::versionMatch</a> are not provided they will respectively default to an empty string with a minimum verison match.</p>
<p><b>See also </b><a href="qml-service.html">Service</a>.</p>
<!-- @@@ServiceList -->
<h2>Property Documentation</h2>
<!-- $$$interfaceName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="interfaceName-prop"></a><span class="name">interfaceName</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the interface name of the services that corresponds to setting <a href="qservicefilter.html#setInterface">QServiceFilter::setInterface()</a>.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@interfaceName -->
<br/>
<!-- $$$majorVersion -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="majorVersion-prop"></a><span class="name">majorVersion</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 major version number of the service filter that corresponds to <a href="qservicefilter.html#majorVersion">QServiceFilter::majorVersion()</a>.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@majorVersion -->
<br/>
<!-- $$$minorVersion -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="minorVersion-prop"></a><span class="name">minorVersion</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 minor version number of the service filter that corresponds to <a href="qservicefilter.html#minorVersion">QServiceFilter::minorVersion()</a>.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@minorVersion -->
<br/>
<!-- $$$serviceName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="serviceName-prop"></a><span class="name">serviceName</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the interface name of the services that corresponds to setting QServiceFilter::setService().</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@serviceName -->
<br/>
<!-- $$$services -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="services-prop"></a><span class="qmlreadonly">read-only</span><span class="name">services</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qdeclarativelistproperty.html">QDeclarativeListProperty</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the list of <a href="qml-service.html">Service</a> elements that match the <a href="qml-service.html#interfaceName-prop">Service::interfaceName</a> and minimum Service::versionNumber properties.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@services -->
<br/>
<!-- $$$versionMatch -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="versionMatch-prop"></a><span class="name">versionMatch</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-enumeration.html">enumeration</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the version match rule of the service filter that corresponds to <a href="qservicefilter.html#versionMatchRule">QServiceFilter::versionMatchRule()</a>. Within QML the values <a href="qml-servicelist.html">ServiceList</a>.Exact and <a href="qml-servicelist.html">ServiceList</a>.Minimum correspond to <a href="qservicefilter.html#VersionMatchRule-enum">QServiceFilter::ExactVersionMatch</a> and <a href="qservicefilter.html#VersionMatchRule-enum">QServiceFilter::MinimumVersionMatch</a> respectively.</p>
<p>This property group was introduced in  Mobility 1.2.</p>
</div></div><!-- @@@versionMatch -->
<br/>
<p class="naviNextPrevious footerNavi">
</p>
  <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>