The ServiceList element holds a list of Service elements. More...
This element was introduced in Mobility 1.2.
The ServiceList element is part of the QtMobility.serviceframework 1.1 module and provides a list of Service elements at the interface ServiceList::interfaceName 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 QMetaObject.
This element is a simplified reflection of the QServiceFilter class that provides a list of simplified QServiceInterfaceDescriptors. Similarly, if the ServiceList::serviceName and ServiceList::versionMatch are not provided they will respectively default to an empty string with a minimum verison match.
See also Service.
interfaceName : QString |
This property holds the interface name of the services that corresponds to setting QServiceFilter::setInterface().
This property group was introduced in Mobility 1.2.
majorVersion : int |
This property holds the major version number of the service filter that corresponds to QServiceFilter::majorVersion().
This property group was introduced in Mobility 1.2.
minorVersion : int |
This property holds the minor version number of the service filter that corresponds to QServiceFilter::minorVersion().
This property group was introduced in Mobility 1.2.
serviceName : QString |
This property holds the interface name of the services that corresponds to setting QServiceFilter::setService().
This property group was introduced in Mobility 1.2.
read-onlyservices : QDeclarativeListProperty |
This property holds the list of Service elements that match the Service::interfaceName and minimum Service::versionNumber properties.
This property group was introduced in Mobility 1.2.
versionMatch : enumeration |
This property holds the version match rule of the service filter that corresponds to QServiceFilter::versionMatchRule(). Within QML the values ServiceList.Exact and ServiceList.Minimum correspond to QServiceFilter::ExactVersionMatch and QServiceFilter::MinimumVersionMatch respectively.
This property group was introduced in Mobility 1.2.
© 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.
All other trademarks are property of their respective owners. Privacy Policy
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.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.