Qt Mobility Reference Documentation

QML Service Element

The Service element holds an instance of a service object. More...

Properties

Detailed Description

The Service element is part of the QtMobility.serviceframework 1.1 module and provides a client instance of the service object by specifying the Service::interfaceName, Service::serviceName and Service::versionNumber properties.

See also ServiceList.


Property Documentation

interfaceName : QString

This property holds the interface name of the service that corresponds to QServiceInterfaceDescriptor::interfaceName().


serviceName : QString

This property holds the service name of the service that corresponds to QServiceInterfaceDescriptor::serviceName().


serviceObject : QObject*

This property holds an instance of the service object which can be used to make metaobject calls to the service. This corresponds to QServiceManager::loadInterface().


valid : bool

This property holds whether a default service was found at the interface name and corresponds to QServiceInterfaceDescriptor::isValid().


versionNumber : QString

This property holds the version number of the service that represents major.minor corresponding to QServiceInterfaceDescriptor::majorVersion() and QServiceInterfaceDescriptor::minorVersion().


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.