~ubuntu-branches/ubuntu/quantal/qtmobility/quantal

« back to all changes in this revision

Viewing changes to doc/html/qgeomaneuver.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-16 16:18:07 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101116161807-k2dzt2nyse975r3l
Tags: 1.1.0-0ubuntu1
* New upstream release
* Syncronise with Debian, no remaining changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
 
4
<head>
 
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
6
<!-- qgeomaneuver.cpp -->
 
7
  <title>Qt Mobility 1.1: QGeoManeuver Class Reference</title>
 
8
  <link rel="stylesheet" type="text/css" href="style/style.css"
 
9
 />  <!--[if IE]>
 
10
<meta name="MSSmartTagsPreventParsing" content="true">
 
11
<meta http-equiv="imagetoolbar" content="no">
 
12
<![endif]-->
 
13
<!--[if lt IE 7]>
 
14
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
 
15
<![endif]-->
 
16
<!--[if IE 7]>
 
17
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
 
18
<![endif]-->
 
19
<!--[if IE 8]>
 
20
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
 
21
<![endif]-->
 
22
  <script src="scripts/jquery.js" type="text/javascript"></script>
 
23
  <script src="scripts/functions.js" type="text/javascript"></script>
 
24
 <script src="./scripts/superfish.js" type="text/javascript"></script>
 
25
 <script src="./scripts/narrow.js" type="text/javascript"></script>
 
26
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />  <link rel="stylesheet" type="text/css" href="style/narrow.css" /></head>
 
27
<body class="" onload="CheckEmptyAndLoadList();">
 
28
 <div class="header" id="qtdocheader">
 
29
    <div class="content"> 
 
30
    <div id="nav-logo">
 
31
      <a href="index.html">Home</a></div>
 
32
    <a href="index.html" class="qtref"><span>Qt Mobility Reference Documentation</span></a>
 
33
                <div id="narrowsearch"><form onsubmit="return false;" action="" id="qtdocsearchTop">
 
34
                <fieldset>
 
35
                <input type="text" value="" id="pageType2" name="searchstring"/>
 
36
                 </fieldset>
 
37
                </form></div>
 
38
    <div id="nav-topright">
 
39
      <ul>
 
40
        <li class="nav-topright-home"><a href="http://qt.nokia.com/">Qt HOME</a></li>
 
41
        <li class="nav-topright-dev"><a href="http://developer.qt.nokia.com/">DEV</a></li>
 
42
        <li class="nav-topright-labs"><a href="http://labs.qt.nokia.com/blogs/">LABS</a></li>
 
43
        <li class="nav-topright-doc nav-topright-doc-active"><a href="http://doc.qt.nokia.com/">
 
44
          DOC</a></li>
 
45
        <li class="nav-topright-blog"><a href="http://blog.qt.nokia.com/">BLOG</a></li>
 
46
      </ul>
 
47
    </div>
 
48
    <div id="shortCut">
 
49
      <ul>
 
50
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Mobility 1.1</a></span></li>
 
51
        <li class="shortCut-topleft-active"><a href="http://doc.qt.nokia.com">ALL VERSIONS        </a></li>
 
52
      </ul>
 
53
     </div>
 
54
 <ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu"> 
 
55
                 <li><a href="#">API Lookup</a> 
 
56
                         <ul id="topmenuLook"> 
 
57
                           <li><a href="classes.html">Class index</a></li> 
 
58
                          <li><a href="functions.html">Function index</a></li> 
 
59
                           <li><a href="modules.html">Modules</a></li> 
 
60
                           </ul> 
 
61
                 </li> 
 
62
                 <li><a href="#">Examples</a> 
 
63
                         <ul id="topmenuexample"> 
 
64
                                 <li><a href="all-examples.html">Examples</a></li> 
 
65
                         </ul> 
 
66
                 </li> 
 
67
 </ul> 
 
68
    </div>
 
69
  </div>
 
70
  <div class="wrapper">
 
71
    <div class="hd">
 
72
      <span></span>
 
73
    </div>
 
74
    <div class="bd group">
 
75
      <div class="sidebar">
 
76
        <div class="searchlabel">
 
77
          Search index:</div>
 
78
        <div class="search">
 
79
          <form id="qtdocsearch" action="" onsubmit="return false;">
 
80
            <fieldset>
 
81
              <input type="text" name="searchstring" id="pageType" value="" />
 
82
            </fieldset>
 
83
          </form>
 
84
        </div>
 
85
        <div class="box first bottombar" id="lookup">
 
86
          <h2 title="API Lookup"><span></span>
 
87
            API Lookup</h2>
 
88
          <div  id="list001" class="list">
 
89
          <ul id="ul001" >
 
90
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
 
91
              <li class="defaultLink"><a href="functions.html">Function index</a></li>
 
92
              <li class="defaultLink"><a href="modules.html">Modules</a></li>
 
93
              <li class="defaultLink"><a href="index.html#platform-compatibility">Platform Compatibility</a></li>
 
94
              <li class="defaultLink"><a href="qml-plugins.html">QML Plugins</a></li>
 
95
            </ul> 
 
96
          </div>
 
97
        </div>
 
98
        <div class="box bottombar" id="topics">
 
99
          <h2 title="Qt Topics"><span></span>
 
100
            Qt Topics</h2>
 
101
          <div id="list002" class="list">
 
102
            <ul id="ul002" >
 
103
              <li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/">Qt 4.7</a></li>
 
104
              <li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/qt-basic-concepts.html">Basic Qt architecture</a></li>
 
105
              <li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/declarativeui.html">Device UI's &amp; Qt Quick</a></li>
 
106
              <li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/qt-gui-concepts.html">Desktop UI components</a></li>
 
107
              <li class="defaultLink"><a href="http://doc.qt.nokia.com/4.7-snapshot/platform-specific.html">Platform-specific info</a></li>
 
108
            </ul>  
 
109
          </div>
 
110
        </div>
 
111
        <div class="box" id="examples">
 
112
          <h2 title="Examples"><span></span>
 
113
            Examples</h2>
 
114
          <div id="list003" class="list">
 
115
        <ul id="ul003">
 
116
              <li class="defaultLink"><a href="all-examples.html">Examples</a></li>
 
117
            </ul> 
 
118
          </div>
 
119
        </div>
 
120
      </div>
 
121
      <div class="wrap">
 
122
        <div class="toolbar">
 
123
          <div class="breadcrumb toolblock">
 
124
            <ul>
 
125
              <li class="first"><a href="index.html">Home</a></li>
 
126
              <!--  Bread crumbs goes here -->
 
127
              <li><a href="modules.html">Modules</a></li>              <li><a href="qtlocation.html">QtLocation</a></li>
 
128
              <li>QGeoManeuver</li>
 
129
            </ul>
 
130
          </div>
 
131
          <div class="toolbuttons toolblock">
 
132
            <ul>
 
133
              <li id="smallA" class="t_button">A</li>
 
134
              <li id="medA" class="t_button active">A</li>
 
135
              <li id="bigA" class="t_button">A</li>
 
136
              <li id="print" class="t_button"><a href="javascript:this.print();">
 
137
                <span>Print</span></a></li>
 
138
            </ul>
 
139
          </div>
 
140
        </div>
 
141
        <div class="content">
 
142
<div class="toc">
 
143
<h3>Contents</h3>
 
144
<ul>
 
145
<li class="level1"><a href="#public-types">Public Types</a></li>
 
146
<li class="level1"><a href="#public-functions">Public Functions</a></li>
 
147
<li class="level1"><a href="#details">Detailed Description</a></li>
 
148
</ul>
 
149
</div>
 
150
<h1 class="title">QGeoManeuver Class Reference</h1>
 
151
<p>The QGeoManeuver class represents the information relevant to the point at which two QGeoRouteSegments meet. <a href="#details">More...</a></p>
 
152
<pre class="highlightedCode brush: cpp"> #include &lt;QGeoManeuver&gt;</pre><ul>
 
153
<li><a href="qgeomaneuver-members.html">List of all members, including inherited members</a></li>
 
154
</ul>
 
155
<hr />
 
156
<a name="public-types"></a>
 
157
<h2>Public Types</h2>
 
158
<table class="alignedsummary">
 
159
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#InstructionDirection-enum">InstructionDirection</a></b> { NoDirection, DirectionForward, DirectionBearRight, DirectionLightRight, ..., DirectionBearLeft }</td></tr>
 
160
</table>
 
161
<hr />
 
162
<a name="public-functions"></a>
 
163
<h2>Public Functions</h2>
 
164
<table class="alignedsummary">
 
165
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#QGeoManeuver">QGeoManeuver</a></b> ()</td></tr>
 
166
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#QGeoManeuver-2">QGeoManeuver</a></b> ( const QGeoManeuver &amp; <i>other</i> )</td></tr>
 
167
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#dtor.QGeoManeuver">~QGeoManeuver</a></b> ()</td></tr>
 
168
<tr><td class="memItemLeft rightAlign topAlign"> InstructionDirection </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#direction">direction</a></b> () const</td></tr>
 
169
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#distanceToNextInstruction">distanceToNextInstruction</a></b> () const</td></tr>
 
170
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#instructionText">instructionText</a></b> () const</td></tr>
 
171
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#isValid">isValid</a></b> () const</td></tr>
 
172
<tr><td class="memItemLeft rightAlign topAlign"> QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#position">position</a></b> () const</td></tr>
 
173
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#setDirection">setDirection</a></b> ( InstructionDirection <i>direction</i> )</td></tr>
 
174
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#setDistanceToNextInstruction">setDistanceToNextInstruction</a></b> ( qreal <i>distance</i> )</td></tr>
 
175
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#setInstructionText">setInstructionText</a></b> ( const QString &amp; <i>instructionText</i> )</td></tr>
 
176
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#setPosition">setPosition</a></b> ( const QGeoCoordinate &amp; <i>position</i> )</td></tr>
 
177
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#setTimeToNextInstruction">setTimeToNextInstruction</a></b> ( int <i>secs</i> )</td></tr>
 
178
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#setWaypoint">setWaypoint</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
 
179
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#timeToNextInstruction">timeToNextInstruction</a></b> () const</td></tr>
 
180
<tr><td class="memItemLeft rightAlign topAlign"> QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#waypoint">waypoint</a></b> () const</td></tr>
 
181
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#operator-not-eq">operator!=</a></b> ( const QGeoManeuver &amp; <i>other</i> ) const</td></tr>
 
182
<tr><td class="memItemLeft rightAlign topAlign"> QGeoManeuver &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#operator-eq">operator=</a></b> ( const QGeoManeuver &amp; <i>other</i> )</td></tr>
 
183
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeomaneuver.html#operator-eq-eq">operator==</a></b> ( const QGeoManeuver &amp; <i>other</i> ) const</td></tr>
 
184
</table>
 
185
<a name="details"></a>
 
186
<hr />
 
187
<div class="descr"/>
 
188
<h2>Detailed Description</h2>
 
189
<p>The QGeoManeuver class represents the information relevant to the point at which two QGeoRouteSegments meet.</p>
 
190
<p><a href="qgeoroutesegment.html">QGeoRouteSegment</a> instances can be thought of as edges on a routing graph, with QGeoManeuver instances as optional labels attached to the vertices of the graph.</p>
 
191
<p>The most interesting information help in a QGeoManeuver instance is normally the textual navigation to provide and the position at which to provide it, accessible by <a href="qgeomaneuver.html#instructionText">instructionText</a>() and <a href="qgeomaneuver.html#position">position</a>() respectively.</p>
 
192
<p>It is also possible to determine if a routing waypoint has been passed by checking if <a href="qgeomaneuver.html#waypoint">waypoint</a>() returns a valid <a href="qgeocoordinate.html">QGeoCoordinate</a>.</p>
 
193
</div>
 
194
<hr />
 
195
<div class="types"/>
 
196
<h2>Member Type Documentation</h2>
 
197
<h3 class="fn"><a name="InstructionDirection-enum"></a>enum QGeoManeuver::InstructionDirection</h3>
 
198
<p>Describes the change in direction associated with the instruction text that is associated with a QGeoManaeuver.</p>
 
199
<table class="valuelist"><tr class="odd"><tr><th>Constant</th><th>Value</th><th>Description</th></tr>
 
200
<tr><td  class="topAlign"><tt>QGeoManeuver::NoDirection</tt></td><td class=" topAlign"><tt>0</tt></td><td  class="topAlign">There is no direction associated with the instruction text.</td></tr>
 
201
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionForward</tt></td><td class=" topAlign"><tt>1</tt></td><td  class="topAlign">The instruction indicates that the direction of travel does not need to change.</td></tr>
 
202
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionBearRight</tt></td><td class=" topAlign"><tt>2</tt></td><td  class="topAlign">The instruction indicates that the direction of travel should bear to the right.</td></tr>
 
203
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionLightRight</tt></td><td class=" topAlign"><tt>3</tt></td><td  class="topAlign">The instruction indicates that a light turn to the right is required.</td></tr>
 
204
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionRight</tt></td><td class=" topAlign"><tt>4</tt></td><td  class="topAlign">The instruction indicates that a turn to the right is required.</td></tr>
 
205
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionHardRight</tt></td><td class=" topAlign"><tt>5</tt></td><td  class="topAlign">The instruction indicates that a hard turn to the right is required.</td></tr>
 
206
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionUTurnRight</tt></td><td class=" topAlign"><tt>6</tt></td><td  class="topAlign">The instruction indicates that a u-turn to the right is required.</td></tr>
 
207
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionUTurnLeft</tt></td><td class=" topAlign"><tt>7</tt></td><td  class="topAlign">The instruction indicates that a u-turn to the left is required.</td></tr>
 
208
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionHardLeft</tt></td><td class=" topAlign"><tt>8</tt></td><td  class="topAlign">The instruction indicates that a hard turn to the left is required.</td></tr>
 
209
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionLeft</tt></td><td class=" topAlign"><tt>9</tt></td><td  class="topAlign">The instruction indicates that a turn to the left is required.</td></tr>
 
210
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionLightLeft</tt></td><td class=" topAlign"><tt>10</tt></td><td  class="topAlign">The instruction indicates that a light turn to the left is required.</td></tr>
 
211
<tr><td  class="topAlign"><tt>QGeoManeuver::DirectionBearLeft</tt></td><td class=" topAlign"><tt>11</tt></td><td  class="topAlign">The instruction indicates that the direction of travel should bear to the left.</td></tr>
 
212
</table>
 
213
</div>
 
214
<hr />
 
215
<div class="func"/>
 
216
<h2>Member Function Documentation</h2>
 
217
<h3 class="fn"><a name="QGeoManeuver"></a>QGeoManeuver::QGeoManeuver ()</h3>
 
218
<p>Constructs a invalid maneuver object.</p>
 
219
<p>The maneuver will remain invalid until one of <a href="qgeomaneuver.html#setPosition">setPosition</a>(), <a href="qgeomaneuver.html#setInstructionText">setInstructionText</a>(), <a href="qgeomaneuver.html#setDirection">setDirection</a>(), <a href="qgeomaneuver.html#setTimeToNextInstruction">setTimeToNextInstruction</a>(), <a href="qgeomaneuver.html#setDistanceToNextInstruction">setDistanceToNextInstruction</a>() or <a href="qgeomaneuver.html#setWaypoint">setWaypoint</a>() is called.</p>
 
220
<h3 class="fn"><a name="QGeoManeuver-2"></a>QGeoManeuver::QGeoManeuver ( const QGeoManeuver &amp; <i>other</i> )</h3>
 
221
<p>Constructs a maneuver object from the contents of <i>other</i>.</p>
 
222
<h3 class="fn"><a name="dtor.QGeoManeuver"></a>QGeoManeuver::~QGeoManeuver ()</h3>
 
223
<p>Destroys this manevuer object.</p>
 
224
<h3 class="fn"><a name="direction"></a><a href="qgeomaneuver.html#InstructionDirection-enum">InstructionDirection</a> QGeoManeuver::direction () const</h3>
 
225
<p>Returns the direction associated with the associated instruction.</p>
 
226
<p>See also <a href="qgeomaneuver.html#setDirection">setDirection</a>().</p>
 
227
<h3 class="fn"><a name="distanceToNextInstruction"></a><a href="http://qt.nokia.com/doc/4.6/qtglobal.html#qreal-typedef">qreal</a> QGeoManeuver::distanceToNextInstruction () const</h3>
 
228
<p>Returns the distance, in metres, between the point at which the associated instruction was issued and the point that the next instruction should be issued.</p>
 
229
<p>See also <a href="qgeomaneuver.html#setDistanceToNextInstruction">setDistanceToNextInstruction</a>().</p>
 
230
<h3 class="fn"><a name="instructionText"></a><a href="http://qt.nokia.com/doc/4.6/qstring.html">QString</a> QGeoManeuver::instructionText () const</h3>
 
231
<p>Returns the textual navigation instructions.</p>
 
232
<p>See also <a href="qgeomaneuver.html#setInstructionText">setInstructionText</a>().</p>
 
233
<h3 class="fn"><a name="isValid"></a>bool QGeoManeuver::isValid () const</h3>
 
234
<p>Returns whether this maneuver is valid or not.</p>
 
235
<p>Invalid maneuvers are used when there is no information that needs to be attached to the endpoint of a <a href="qgeoroutesegment.html">QGeoRouteSegment</a> instance.</p>
 
236
<h3 class="fn"><a name="position"></a><a href="qgeocoordinate.html">QGeoCoordinate</a> QGeoManeuver::position () const</h3>
 
237
<p>Returns the position where <a href="qgeomaneuver.html#instructionText">instructionText</a>() should be displayed.</p>
 
238
<p>See also <a href="qgeomaneuver.html#setPosition">setPosition</a>().</p>
 
239
<h3 class="fn"><a name="setDirection"></a>void QGeoManeuver::setDirection ( <a href="qgeomaneuver.html#InstructionDirection-enum">InstructionDirection</a> <i>direction</i> )</h3>
 
240
<p>Sets the direction associated with the associated instruction to <i>direction</i>.</p>
 
241
<p>See also <a href="qgeomaneuver.html#direction">direction</a>().</p>
 
242
<h3 class="fn"><a name="setDistanceToNextInstruction"></a>void QGeoManeuver::setDistanceToNextInstruction ( <a href="http://qt.nokia.com/doc/4.6/qtglobal.html#qreal-typedef">qreal</a> <i>distance</i> )</h3>
 
243
<p>Sets the distance, in metres, between the point at which the associated instruction was issued and the point that the next instruction should be issued to <i>distance</i>.</p>
 
244
<p>See also <a href="qgeomaneuver.html#distanceToNextInstruction">distanceToNextInstruction</a>().</p>
 
245
<h3 class="fn"><a name="setInstructionText"></a>void QGeoManeuver::setInstructionText ( const <a href="http://qt.nokia.com/doc/4.6/qstring.html">QString</a> &amp; <i>instructionText</i> )</h3>
 
246
<p>Sets the textual navigation instructions to <i>instructionText</i>.</p>
 
247
<p>See also <a href="qgeomaneuver.html#instructionText">instructionText</a>().</p>
 
248
<h3 class="fn"><a name="setPosition"></a>void QGeoManeuver::setPosition ( const <a href="qgeocoordinate.html">QGeoCoordinate</a> &amp; <i>position</i> )</h3>
 
249
<p>Sets the position where <a href="qgeomaneuver.html#instructionText">instructionText</a>() should be displayed to <i>position</i>.</p>
 
250
<p>See also <a href="qgeomaneuver.html#position">position</a>().</p>
 
251
<h3 class="fn"><a name="setTimeToNextInstruction"></a>void QGeoManeuver::setTimeToNextInstruction ( int <i>secs</i> )</h3>
 
252
<p>Sets the estimated time it will take to travel from the point at which the associated instruction was issued and the point that the next instruction should be issued, in seconds, to <i>secs</i>.</p>
 
253
<p>See also <a href="qgeomaneuver.html#timeToNextInstruction">timeToNextInstruction</a>().</p>
 
254
<h3 class="fn"><a name="setWaypoint"></a>void QGeoManeuver::setWaypoint ( const <a href="qgeocoordinate.html">QGeoCoordinate</a> &amp; <i>coordinate</i> )</h3>
 
255
<p>Sets the waypoint associated with this maneuver to <i>coordinate</i>.</p>
 
256
<p>See also <a href="qgeomaneuver.html#waypoint">waypoint</a>().</p>
 
257
<h3 class="fn"><a name="timeToNextInstruction"></a>int QGeoManeuver::timeToNextInstruction () const</h3>
 
258
<p>Returns the estimated time it will take to travel from the point at which the associated instruction was issued and the point that the next instruction should be issued, in seconds.</p>
 
259
<p>See also <a href="qgeomaneuver.html#setTimeToNextInstruction">setTimeToNextInstruction</a>().</p>
 
260
<h3 class="fn"><a name="waypoint"></a><a href="qgeocoordinate.html">QGeoCoordinate</a> QGeoManeuver::waypoint () const</h3>
 
261
<p>Returns the waypoint associated with this maneuver.</p>
 
262
<p>If there is not waypoint associated with this maneuver an invalid <a href="qgeocoordinate.html">QGeoCoordinate</a> will be returned.</p>
 
263
<p>See also <a href="qgeomaneuver.html#setWaypoint">setWaypoint</a>().</p>
 
264
<h3 class="fn"><a name="operator-not-eq"></a>bool QGeoManeuver::operator!= ( const QGeoManeuver &amp; <i>other</i> ) const</h3>
 
265
<p>Returns whether this maneuver is not equal to <i>other</i>.</p>
 
266
<h3 class="fn"><a name="operator-eq"></a>QGeoManeuver &amp; QGeoManeuver::operator= ( const QGeoManeuver &amp; <i>other</i> )</h3>
 
267
<p>Assigns <i>other</i> to this maneuver object and then returns a reference to this maneuver object.</p>
 
268
<h3 class="fn"><a name="operator-eq-eq"></a>bool QGeoManeuver::operator== ( const QGeoManeuver &amp; <i>other</i> ) const</h3>
 
269
<p>Returns whether this maneuver is equal to <i>other</i>.</p>
 
270
</div>
 
271
        <!-- /div -->
 
272
        <div class="feedback t_button">
 
273
          [+] Documentation Feedback</div>
 
274
      </div>
 
275
    </div>
 
276
    <div class="ft">
 
277
      <span></span>
 
278
    </div>
 
279
  </div> 
 
280
  </div> 
 
281
  <div class="footer">
 
282
    <p>
 
283
      <acronym title="Copyright">&copy;</acronym> 2008-2010 Nokia Corporation and/or its
 
284
      subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
 
285
      in Finland and/or other countries worldwide.</p>
 
286
    <p>
 
287
      All other trademarks are property of their respective owners. <a title="Privacy Policy"
 
288
        href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
 
289
  </div>
 
290
  <div id="feedbackBox">
 
291
      <div id="feedcloseX" class="feedclose t_button">X</div>
 
292
    <form id="feedform" action="http://doc.qt.nokia.com/docFeedbck/feedback.php" method="get">
 
293
      <p id="noteHead">Thank you for giving your feedback.</p> <div class="note"><p>Make sure it is related to this specific page. For more general bugs and 
 
294
      requests, please use the <a href="http://bugreports.qt.nokia.com/secure/Dashboard.jspa">Qt Bug Tracker</a>.</p></div>
 
295
      <p><textarea id="feedbox" name="feedText" rows="5" cols="40"></textarea></p>
 
296
      <p><input id="feedsubmit" class="feedclose" type="submit" name="feedback" /></p>
 
297
    </form>
 
298
  </div>
 
299
  <div id="blurpage">
 
300
  </div>
 
301
  </div>
 
302
  <script src="scripts/functions.js" type="text/javascript"></script>
 
303
</body>
 
304
</html>