<?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" /> <!-- qdeclarativeorganizeritemdetail.cpp --> <title>Qt Mobility 1.2: QML Location 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 Location 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 Location Element</h1> <span class="subtitle"></span> <!-- $$$Location-brief --> <p>The Location element contains information about a location which is related to the organizer item in some manner. <a href="#details">More...</a></p> <!-- @@@Location --> <p>This element was introduced in Mobility 1.1.</p> <ul> <li><a href="qml-location-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-location.html#label-prop">label</a></b></b> : string</li> <li class="fn"><b><b><a href="qml-location.html#latitude-prop">latitude</a></b></b> : double</li> <li class="fn"><b><b><a href="qml-location.html#longitude-prop">longitude</a></b></b> : double</li> </ul> <!-- $$$Location-description --> <a name="details"></a> <h2>Detailed Description</h2> <p>Location element contains the following field types:</p> <ul> <li>Location.Label</li> <li>Location.Longitude</li> <li>Location.Latitude</li> </ul> <p>This element is part of the <b>QtMobility.organizer 1.1</b> module.</p> <!-- @@@Location --> <h2>Property Documentation</h2> <!-- $$$label --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="label-prop"></a><span class="name">label</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 location label value.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@label --> <br/> <!-- $$$latitude --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="latitude-prop"></a><span class="name">latitude</span> : <span class="type">double</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the location latitude value.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@latitude --> <br/> <!-- $$$longitude --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="longitude-prop"></a><span class="name">longitude</span> : <span class="type">double</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the location longitude value .</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@longitude --> <br/> <div class="ft"> <span></span> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>