Sophie

Sophie

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

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" />
<!-- qgeomapoverlay.cpp -->
  <title>Qt Mobility 1.2: QGeoMapOverlay 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>QGeoMapOverlay</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="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoMapOverlay Class Reference</h1>
<!-- $$$QGeoMapOverlay-brief -->
<p>The QGeoMapOverlay class is used to draw overlays on the map. <a href="#details">More...</a></p>
<!-- @@@QGeoMapOverlay -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoMapOverlay&gt;</span></pre><p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgeomapoverlay-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="qgeomapoverlay.html#QGeoMapOverlay">QGeoMapOverlay</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qgeomapoverlay.html#dtor.QGeoMapOverlay">~QGeoMapOverlay</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapoverlay.html#paint">paint</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i> ) = 0</td></tr>
</table>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QGeoMapData const * </td><td class="memItemRight bottomAlign"><b><a href="qgeomapoverlay.html#mapData">mapData</a></b> () const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGeoMapOverlay-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoMapOverlay class is used to draw overlays on the map.</p>
<p>This allows for general drawing to occur in overlays above the map.</p>
</div>
<!-- @@@QGeoMapOverlay -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoMapOverlay[overload1]$$$QGeoMapOverlay -->
<h3 class="fn"><a name="QGeoMapOverlay"></a>QGeoMapOverlay::<span class="name">QGeoMapOverlay</span> ()</h3>
<p>Constructs a new map overlay object.</p>
<!-- @@@QGeoMapOverlay -->
<!-- $$$~QGeoMapOverlay[overload1]$$$~QGeoMapOverlay -->
<h3 class="fn"><a name="dtor.QGeoMapOverlay"></a>QGeoMapOverlay::<span class="name">~QGeoMapOverlay</span> ()<tt> [virtual]</tt></h3>
<p>Destroys this map overlay object.</p>
<!-- @@@~QGeoMapOverlay -->
<!-- $$$mapData[overload1]$$$mapData -->
<h3 class="fn"><a name="mapData"></a><span class="type"><a href="qgeomapdata.html">QGeoMapData</a></span> const * QGeoMapOverlay::<span class="name">mapData</span> () const<tt> [protected]</tt></h3>
<p>Returns the <a href="qgeomapdata.html">QGeoMapData</a> instance that this overlay is associated, or 0 if there is not such instance.</p>
<p>The <a href="qgeomapdata.html">QGeoMapData</a> instance provides access to information such as the zoom level and viewport position as well as methods to convert screen positions to coordinates and vice-versa.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapData -->
<!-- $$$paint[overload1]$$$paintQPainter*constQStyleOptionGraphicsItem* -->
<h3 class="fn"><a name="paint"></a><span class="type">void</span> QGeoMapOverlay::<span class="name">paint</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpainter.html">QPainter</a></span> * <i>painter</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a></span> * <i>option</i> )<tt> [pure virtual]</tt></h3>
<p>Paints the overlay on <i>painter</i>, using the options <i>option</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@paint -->
</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>