Sophie

Sophie

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

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" />
<!-- qgeotiledmaprequest.cpp -->
  <title>Qt Mobility 1.2: QGeoTiledMapRequest Class Reference</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="modules.html">Modules</a></li>
<li><a href="qtlocation.html">QtLocation</a></li>
<li>QGeoTiledMapRequest</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoTiledMapRequest Class Reference</h1>
<!-- $$$QGeoTiledMapRequest-brief -->
<p>The QGeoTiledMapRequest class represents a request for a map tile from a tile-based mapping service. <a href="#details">More...</a></p>
<!-- @@@QGeoTiledMapRequest -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoTiledMapRequest&gt;</span></pre><p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgeotiledmaprequest-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#QGeoTiledMapRequest">QGeoTiledMapRequest</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#QGeoTiledMapRequest-2">QGeoTiledMapRequest</a></b> ( QGraphicsGeoMap::ConnectivityMode <i>connectivityMode</i>, QGraphicsGeoMap::MapType <i>mapType</i>, qreal <i>zoomLevel</i>, int <i>row</i>, int <i>column</i>, const QRect &amp; <i>tileRect</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#QGeoTiledMapRequest-3">QGeoTiledMapRequest</a></b> ( const QGeoTiledMapRequest &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#dtor.QGeoTiledMapRequest">~QGeoTiledMapRequest</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#column">column</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGraphicsGeoMap::ConnectivityMode </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#connectivityMode">connectivityMode</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGraphicsGeoMap::MapType </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#mapType">mapType</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#row">row</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRect </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#tileRect">tileRect</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#zoomLevel">zoomLevel</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoTiledMapRequest &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#operator-eq">operator=</a></b> ( const QGeoTiledMapRequest &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeotiledmaprequest.html#operator-eq-eq">operator==</a></b> ( const QGeoTiledMapRequest &amp; <i>other</i> ) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGeoTiledMapRequest-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoTiledMapRequest class represents a request for a map tile from a tile-based mapping service.</p>
<p>The tile is specified by a map type, a zoom level, a row and a column.</p>
<p>At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles, and the row and column are relative to the grid of tiles for the zoom level of the request.</p>
</div>
<!-- @@@QGeoTiledMapRequest -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoTiledMapRequest[overload1]$$$QGeoTiledMapRequest -->
<h3 class="fn"><a name="QGeoTiledMapRequest"></a>QGeoTiledMapRequest::<span class="name">QGeoTiledMapRequest</span> ()</h3>
<p>Constructs a new tiled map request.</p>
<!-- @@@QGeoTiledMapRequest -->
<!-- $$$QGeoTiledMapRequest$$$QGeoTiledMapRequestQGraphicsGeoMap::ConnectivityModeQGraphicsGeoMap::MapTypeqrealintintconstQRect& -->
<h3 class="fn"><a name="QGeoTiledMapRequest-2"></a>QGeoTiledMapRequest::<span class="name">QGeoTiledMapRequest</span> ( <span class="type"><a href="qgraphicsgeomap.html#ConnectivityMode-enum">QGraphicsGeoMap::ConnectivityMode</a></span> <i>connectivityMode</i>, <span class="type"><a href="qgraphicsgeomap.html#MapType-enum">QGraphicsGeoMap::MapType</a></span> <i>mapType</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span> <i>zoomLevel</i>, <span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>column</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qrect.html">QRect</a></span> &amp; <i>tileRect</i> )</h3>
<p>Constructs a new tiled map request.</p>
<p>At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles.</p>
<p>This tiled map request represents a request for the tile at row <i>row</i> and column <i>column</i> at zoom level <i>zoomLevel</i> and type <i>mapType</i>.</p>
<p>The request will use connectivity mode <i>connectivityMode</i> when accessing the map data.</p>
<p>The rectangle that the tile occupies on the map at the maximum zoom level is also given as <i>tileRect</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGeoTiledMapRequest -->
<!-- $$$QGeoTiledMapRequest$$$QGeoTiledMapRequestconstQGeoTiledMapRequest& -->
<h3 class="fn"><a name="QGeoTiledMapRequest-3"></a>QGeoTiledMapRequest::<span class="name">QGeoTiledMapRequest</span> ( const <span class="type">QGeoTiledMapRequest</span> &amp; <i>other</i> )</h3>
<p>Constructs a tiled map request from the contents of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGeoTiledMapRequest -->
<!-- $$$~QGeoTiledMapRequest[overload1]$$$~QGeoTiledMapRequest -->
<h3 class="fn"><a name="dtor.QGeoTiledMapRequest"></a>QGeoTiledMapRequest::<span class="name">~QGeoTiledMapRequest</span> ()</h3>
<p>Destroys this tiled map request.</p>
<!-- @@@~QGeoTiledMapRequest -->
<!-- $$$column[overload1]$$$column -->
<h3 class="fn"><a name="column"></a><span class="type">int</span> QGeoTiledMapRequest::<span class="name">column</span> () const</h3>
<p>Returns the column of the requested tile.</p>
<p>At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles, and so the column will be between 0 and 2^z - 1.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@column -->
<!-- $$$connectivityMode[overload1]$$$connectivityMode -->
<h3 class="fn"><a name="connectivityMode"></a><span class="type"><a href="qgraphicsgeomap.html#ConnectivityMode-enum">QGraphicsGeoMap::ConnectivityMode</a></span> QGeoTiledMapRequest::<span class="name">connectivityMode</span> () const</h3>
<p>Returns the connectivity mode of the tile request.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@connectivityMode -->
<!-- $$$mapType[overload1]$$$mapType -->
<h3 class="fn"><a name="mapType"></a><span class="type"><a href="qgraphicsgeomap.html#MapType-enum">QGraphicsGeoMap::MapType</a></span> QGeoTiledMapRequest::<span class="name">mapType</span> () const</h3>
<p>Returns the map type of the requested tile.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapType -->
<!-- $$$row[overload1]$$$row -->
<h3 class="fn"><a name="row"></a><span class="type">int</span> QGeoTiledMapRequest::<span class="name">row</span> () const</h3>
<p>Returns the row of the requested tile.</p>
<p>At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles, and so the row will be between 0 and 2^z - 1.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@row -->
<!-- $$$tileRect[overload1]$$$tileRect -->
<h3 class="fn"><a name="tileRect"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qrect.html">QRect</a></span> QGeoTiledMapRequest::<span class="name">tileRect</span> () const</h3>
<p>Returns the rectangle that the tile covers on the map at the maximum zoon level.</p>
<p>At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles. If m is the maximum zoom level and the tiles are t by t pixel squares, then the entire world could be viewed as a 2^m * t by 2^m * t pixel image.</p>
<p>The rectangle returned is specified relative to the pixel coordinates of the map at the maximum zoom level.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@tileRect -->
<!-- $$$zoomLevel[overload1]$$$zoomLevel -->
<h3 class="fn"><a name="zoomLevel"></a><span class="type">int</span> QGeoTiledMapRequest::<span class="name">zoomLevel</span> () const</h3>
<p>Returns the zoom level of the requested tile.</p>
<p>The lower and upper bounds of the zoom level are set by the <a href="qgeomappingmanager.html">QGeoMappingManager</a> that created this request.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@zoomLevel -->
<!-- $$$operator=[overload1]$$$operator=constQGeoTiledMapRequest& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QGeoTiledMapRequest</span> &amp; QGeoTiledMapRequest::<span class="name">operator=</span> ( const <span class="type">QGeoTiledMapRequest</span> &amp; <i>other</i> )</h3>
<p>Assigns <i>other</i> to this tiled map request and then returns a reference to this tiled map request.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQGeoTiledMapRequest& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QGeoTiledMapRequest::<span class="name">operator==</span> ( const <span class="type">QGeoTiledMapRequest</span> &amp; <i>other</i> ) const</h3>
<p>Returns with this tiled map request is equal to <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator== -->
</div>
  <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>