1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>navit: gui/qml/ngqpoint.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">navit
 <span id="projectnumber">0.5.3-trunk</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ngqpoint_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">ngqpoint.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="ngqpoint_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef NAVIT_GUI_QML_POINT_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define NAVIT_GUI_QML_POINT_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="keyword">static</span> <span class="keywordtype">void</span></div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="ngqpoint_8h.html#a56a72d46214e1735ec8c1b1dbd6bf993"> 5</a></span> <a class="code" href="ngqpoint_8h.html#a56a72d46214e1735ec8c1b1dbd6bf993">get_direction</a>(<span class="keywordtype">char</span> *<a class="code" href="structbuffer.html">buffer</a>, <span class="keywordtype">int</span> angle, <span class="keywordtype">int</span> mode)</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  angle=angle%360;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <span class="keywordflow">switch</span> (mode) {</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <span class="keywordflow">case</span> 0:</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  sprintf(buffer,<span class="stringliteral">"%d"</span>,angle);</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keywordflow">case</span> 1:</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordflow">if</span> (angle < 69 || angle > 291)</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  *buffer++=<span class="charliteral">'N'</span>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keywordflow">if</span> (angle > 111 && angle < 249)</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  *buffer++=<span class="charliteral">'S'</span>;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordflow">if</span> (angle > 22 && angle < 158)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  *buffer++=<span class="charliteral">'E'</span>;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">if</span> (angle > 202 && angle < 338)</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  *buffer++=<span class="charliteral">'W'</span>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  *buffer++=<span class="charliteral">'\0'</span>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">case</span> 2:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  angle=(angle+15)/30;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordflow">if</span> (! angle)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  angle=12;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  sprintf(buffer,<span class="stringliteral">"%d H"</span>, angle);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  }</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a0ca2444163688098d8e674e31fb11397"> 32</a></span> <span class="keyword">enum</span> <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> {<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a844bd75af9a6a7871056f378121ee2f5">MapPoint</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a0ca2444163688098d8e674e31fb11397">Position</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a234881e88555315ba9bcbf51a8edb0c5">Destination</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4aa4ee8b7b703a13592dc2bb0b06cdfa02">PointOfInterest</a>};</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classNGQPoint.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classNGQPoint.html">NGQPoint</a> : <span class="keyword">public</span> QObject {</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classNGQPoint.html#ad96b404759ad7d5c5d82903e485dd328"> 35</a></span>  Q_OBJECT;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a50cc1fd17dfc59b247a0821e09e54d97"> 37</a></span>  Q_PROPERTY(QString <a class="code" href="classNGQPoint.html#a04b9e2d80fd1a2a85eb40eae63795691">coordString</a> READ <a class="code" href="classNGQPoint.html#a04b9e2d80fd1a2a85eb40eae63795691">coordString</a> CONSTANT);</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a644dfce18a064d43567c7acb60d97ea7"> 38</a></span>  Q_PROPERTY(QString <a class="code" href="classNGQPoint.html#af2fd550bb235dfabaa8be49b87cda70c">pointName</a> READ <a class="code" href="classNGQPoint.html#af2fd550bb235dfabaa8be49b87cda70c">pointName</a> CONSTANT);</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classNGQPoint.html#ae2be9d91e059418bf049b59494313b94"> 39</a></span>  Q_PROPERTY(QString <a class="code" href="classNGQPoint.html#a2f5f62dbcbb7cf73949da9298b842a06">pointType</a> READ <a class="code" href="classNGQPoint.html#a2f5f62dbcbb7cf73949da9298b842a06">pointType</a> CONSTANT);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  Q_PROPERTY(QUrl <a class="code" href="classNGQPoint.html#a69e3470ebb1aab0122a6e56115a86677">pointUrl</a> READ <a class="code" href="classNGQPoint.html#a69e3470ebb1aab0122a6e56115a86677">pointUrl</a> CONSTANT);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a31d0a811c12d8b1e0501c57ac242eca9"> 42</a></span>  <a class="code" href="classNGQPoint.html#a31d0a811c12d8b1e0501c57ac242eca9">NGQPoint</a>(<span class="keyword">struct</span> <a class="code" href="structgui__priv.html">gui_priv</a>* this_,<span class="keyword">struct</span> <a class="code" href="structpoint.html">point</a>* <a class="code" href="classNGQPoint.html#a2a6e0d410da6865b691f7b699d851b32">p</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> <a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a844bd75af9a6a7871056f378121ee2f5">MapPoint</a>,QObject *<a class="code" href="structparent.html">parent</a>=NULL) : QObject(<a class="code" href="structparent.html">parent</a>) {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  this-><span class="keywordtype">object</span>=this_;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  this-><a class="code" href="structitem.html">item</a>.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>=0;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="transform_8c.html#a5a40f38ebfbe5adacd7450e6bace9a29">transform_reverse</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>), p, &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="transform_8c.html#a25bc1227373c93717d0350e1fe0130dd">transform_to_geo</a>(<a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>)), &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>, &<a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pro</a> = <a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>));</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a> = <a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a> = <a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  this->p.<a class="code" href="structpoint.html#ad679b07fb69d55f5ad454d0f1f2891d5">x</a>=p-><a class="code" href="structpoint.html#ad679b07fb69d55f5ad454d0f1f2891d5">x</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  this->p.<a class="code" href="structpoint.html#a9a82ca9504acabb1e30569f89c805471">y</a>=p-><a class="code" href="structpoint.html#a9a82ca9504acabb1e30569f89c805471">y</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  this-><a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>=this-><a class="code" href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2">_coordName</a>();</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  this-><a class="code" href="structcoord.html">coord</a>=this-><a class="code" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">_coordString</a>();</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a1dd6c372ef3da7a88679300518977edd"> 57</a></span>  <a class="code" href="classNGQPoint.html#a1dd6c372ef3da7a88679300518977edd">NGQPoint</a>(<span class="keyword">struct</span> <a class="code" href="structgui__priv.html">gui_priv</a>* this_,<span class="keyword">struct</span> <a class="code" href="structcoord.html">coord</a>* <a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> <a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a>,QObject *<a class="code" href="structparent.html">parent</a>=NULL) : QObject(<a class="code" href="structparent.html">parent</a>) {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  this-><span class="keywordtype">object</span>=this_;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  this-><a class="code" href="structitem.html">item</a>.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>=0;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=c-><a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=c-><a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="transform_8c.html#a25bc1227373c93717d0350e1fe0130dd">transform_to_geo</a>(<a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>)), &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>, &<a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  this->c.pro = <a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>));</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  this->c.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a> = c-><a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  this->c.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a> = c-><a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  this-><a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>=this-><a class="code" href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2">_coordName</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  this-><a class="code" href="structcoord.html">coord</a>=this-><a class="code" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">_coordString</a>();</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a49fc973e9ed3b65603f233ef8f2e8e48"> 72</a></span>  <a class="code" href="classNGQPoint.html#a49fc973e9ed3b65603f233ef8f2e8e48">NGQPoint</a>(<span class="keyword">struct</span> <a class="code" href="structgui__priv.html">gui_priv</a>* this_,<span class="keyword">struct</span> <a class="code" href="structpcoord.html">pcoord</a>* <a class="code" href="classNGQPoint.html#a0f3067d34e0478d4cc6f9173b196a44e">pc</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> <a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a>,QObject *<a class="code" href="structparent.html">parent</a>=NULL) : QObject(<a class="code" href="structparent.html">parent</a>) {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  this-><span class="keywordtype">object</span>=this_;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  this-><a class="code" href="structitem.html">item</a>.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>=0;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pro</a> = pc-><a class="code" href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pro</a>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a> = pc-><a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a> = pc-><a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=pc-><a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=pc-><a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="transform_8c.html#a25bc1227373c93717d0350e1fe0130dd">transform_to_geo</a>(this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pro</a>, &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>, &<a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  this-><a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>=this-><a class="code" href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2">_coordName</a>();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  this-><a class="code" href="structcoord.html">coord</a>=this-><a class="code" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">_coordString</a>();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classNGQPoint.html#ab060f4958a72baccb813b871d597bde1"> 87</a></span>  <a class="code" href="classNGQPoint.html#ab060f4958a72baccb813b871d597bde1">NGQPoint</a>(<span class="keyword">struct</span> <a class="code" href="structgui__priv.html">gui_priv</a>* this_,<span class="keyword">struct</span> <a class="code" href="structcoord.html">coord</a>* <a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>,QString <a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> <a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a>,QObject *<a class="code" href="structparent.html">parent</a>=NULL) : QObject(<a class="code" href="structparent.html">parent</a>) {</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  this-><span class="keywordtype">object</span>=this_;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  this-><a class="code" href="structitem.html">item</a>.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>=0;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=c-><a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=c-><a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="transform_8c.html#a25bc1227373c93717d0350e1fe0130dd">transform_to_geo</a>(<a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>)), &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>, &<a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  this->c.pro = <a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>));</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  this->c.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a> = c-><a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  this->c.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a> = c-><a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  this->name=<a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  this-><a class="code" href="structcoord.html">coord</a>=this-><a class="code" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">_coordString</a>();</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a0f3067d34e0478d4cc6f9173b196a44e"> 102</a></span>  <span class="keyword">struct </span><a class="code" href="structpcoord.html">pcoord</a>* <a class="code" href="classNGQPoint.html#a0f3067d34e0478d4cc6f9173b196a44e">pc</a>() { <span class="keywordflow">return</span> &<a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>; }</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">public</span> slots:</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a9a4923671be87dc4e70ddfdd177c4421"> 104</a></span>  <span class="keywordtype">void</span> <a class="code" href="classNGQPoint.html#a9a4923671be87dc4e70ddfdd177c4421">setNewPoint</a>(QString <a class="code" href="structcoord.html">coord</a>,<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> <a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4aa4ee8b7b703a13592dc2bb0b06cdfa02">PointOfInterest</a>) {</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  this-><a class="code" href="structitem.html">item</a>.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>=0;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  QStringList coordSplit=coord.split(<span class="stringliteral">" "</span>,QString::SkipEmptyParts);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=coordSplit[0].toInt();</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  this-><a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=coordSplit[1].toInt();</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="transform_8c.html#a25bc1227373c93717d0350e1fe0130dd">transform_to_geo</a>(<a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>)), &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>, &<a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pro</a> = <a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>));</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a> = coordSplit[0].toInt();</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a> = coordSplit[1].toInt();</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>=<a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  this-><a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>=this-><a class="code" href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2">_coordName</a>();</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  this->coord=this-><a class="code" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">_coordString</a>();</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classNGQPoint.html#af2fd550bb235dfabaa8be49b87cda70c"> 118</a></span>  QString <a class="code" href="classNGQPoint.html#af2fd550bb235dfabaa8be49b87cda70c">pointName</a>() {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> this-><a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a04b9e2d80fd1a2a85eb40eae63795691"> 121</a></span>  QString <a class="code" href="classNGQPoint.html#a04b9e2d80fd1a2a85eb40eae63795691">coordString</a>() {</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">return</span> this-><a class="code" href="classNGQPoint.html#a29ece446e1394efa434c2ede3a3f29d6">coord</a>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a2f5f62dbcbb7cf73949da9298b842a06"> 124</a></span>  QString <a class="code" href="classNGQPoint.html#a2f5f62dbcbb7cf73949da9298b842a06">pointType</a>() {</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">switch</span>(this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>) {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">case</span> <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a844bd75af9a6a7871056f378121ee2f5">MapPoint</a>:</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> QString(<span class="stringliteral">"MapPoint"</span>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">case</span> <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a>:</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span> QString(<span class="stringliteral">"Bookmark"</span>);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">case</span> <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a0ca2444163688098d8e674e31fb11397">Position</a>:</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> QString(<span class="stringliteral">"Position"</span>);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">case</span> <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a234881e88555315ba9bcbf51a8edb0c5">Destination</a>:</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span> QString(<span class="stringliteral">"Destination"</span>);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">case</span> <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4aa4ee8b7b703a13592dc2bb0b06cdfa02">PointOfInterest</a>:</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> QString(<span class="stringliteral">"PointOfInterest"</span>);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> QString(<span class="stringliteral">""</span>);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a69e3470ebb1aab0122a6e56115a86677"> 139</a></span>  QUrl <a class="code" href="classNGQPoint.html#a69e3470ebb1aab0122a6e56115a86677">pointUrl</a>() {</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> this-><a class="code" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">url</a>;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  }</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a8d53afda2ecea29a7fdacd13074145c7"> 142</a></span>  QString <a class="code" href="classNGQPoint.html#a8d53afda2ecea29a7fdacd13074145c7">getInformation</a>() {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">struct </span><a class="code" href="structmap__rect.html">map_rect</a> *mr;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">struct </span><a class="code" href="structitem.html">item</a>* <a class="code" href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d">item</a>;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">struct </span><a class="code" href="structattr.html">attr</a> attr;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  QDomDocument retDoc;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  QDomElement <a class="code" href="gui__gtk__action_8c.html#a904c31034abf6c115497f2af0dfc31bc">entries</a>;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  entries=retDoc.createElement(<span class="stringliteral">"point"</span>);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  retDoc.appendChild(entries);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">if</span> (this-><a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>!=<a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a> and this->item.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>) {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  mr=<a class="code" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new</a>(this->item.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>, NULL);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  item = <a class="code" href="map_8c.html#a9e27d0888db14bf9b88727ead943eaf6">map_rect_get_item_byid</a>(mr, this->item.<a class="code" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">id_hi</a>, this->item.id_lo);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">if</span> (item) {</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">while</span>(<a class="code" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a>(item, attr_any, &attr)) {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  entries.appendChild(this-><a class="code" href="classNGQPoint.html#a514f30084f729c4d3ea8d8d3460f4b84">_fieldValueHelper</a>(retDoc,QString::fromLocal8Bit(<a class="code" href="attr_8c.html#ae13d70b1ff7bbf7abf2586f15590f253">attr_to_name</a>(attr.<a class="code" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">type</a>)), QString::fromLocal8Bit(<a class="code" href="attr_8c.html#aa0ebda0950efd7e0f64fecf36ae5c462">attr_to_text</a>(&attr,this->item.<a class="code" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">map</a>, 1))));</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  }</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy</a>(mr);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">return</span> retDoc.toString();</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classNGQPoint.html#ae78867c696a50e9f08c988283c04e2e8"> 164</a></span>  QString <a class="code" href="classNGQPoint.html#ae78867c696a50e9f08c988283c04e2e8">getPOI</a>(<span class="keyword">const</span> QString &<a class="code" href="structattr__name.html">attr_name</a>) {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">struct </span><a class="code" href="structattr.html">attr</a> attr;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">struct </span><a class="code" href="structitem.html">item</a>* <a class="code" href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d">item</a>;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">struct </span><a class="code" href="structmapset__handle.html">mapset_handle</a> *h;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keyword">struct </span><a class="code" href="structmap__selection.html">map_selection</a> *sel,*selm;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">struct </span><a class="code" href="structmap__rect.html">map_rect</a> *mr;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">struct </span><a class="code" href="structmap.html">map</a> *m;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">int</span> idist,dist;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">struct </span><a class="code" href="structcoord.html">coord</a> center;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  QDomDocument retDoc(attr_name);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  QDomElement <a class="code" href="gui__gtk__action_8c.html#a904c31034abf6c115497f2af0dfc31bc">entries</a>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">char</span> dirbuf[32];</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">if</span> (!<a class="code" href="gui_8c.html#a5a1522548f59382880f17b0e05887817">gui_get_attr</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#ae5d9402f7e218085adad1c80599f142c">gui</a>,attr_radius,&attr,NULL)) {</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">return</span> QString();</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  }</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  dist=attr.<a class="code" href="structattr.html#a682d33096ece5ad806426918c15c4b10">u</a>.<a class="code" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">num</a>*1000;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  sel=<a class="code" href="map_8c.html#ac0160cd214565dad3584739d44fafed8">map_selection_rect_new</a>(&this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>, dist, 18);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  center.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a>;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  center.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a>;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  h=<a class="code" href="mapset_8c.html#a101513e5ab4c27dc04ba3e8f0a8bf19d">mapset_open</a>(<a class="code" href="group__navit.html#ga500b4ba7a20151bf7603ac2c740b457f">navit_get_mapset</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>));</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  entries=retDoc.createElement(attr_name);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  retDoc.appendChild(entries);</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">while</span> ((m=<a class="code" href="mapset_8c.html#a7514e385a1a1ad3a2d1c40b4fc7ccfd7">mapset_next</a>(h, 1))) {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  selm=<a class="code" href="map_8c.html#a95b6e2263b7e7aed66a4a5d8ce8028c8">map_selection_dup_pro</a>(sel, this-><a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pro</a>, <a class="code" href="map_8c.html#a956c6e8398f832e31fe90634fa982dbf">map_projection</a>(m));</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  mr=<a class="code" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new</a>(m, selm);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">if</span> (mr) {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">while</span> ((item=<a class="code" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item</a>(mr))) {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">struct </span><a class="code" href="structcoord.html">coord</a> c;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">if</span> ( <a class="code" href="item_8c.html#a088682cd8951907090cbf68b4c9e0f83">item_coord_get_pro</a>(item, &c, 1, this->c.pro) && <a class="code" href="group__coord.html#gadf3c940d83ba637872b823ecb4f92555">coord_rect_contains</a>(&sel-><a class="code" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">u</a>.<a class="code" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">c_rect</a>, &c) && (idist=<a class="code" href="transform_8c.html#abf0560a954a531f44ab7e05715da80f3">transform_distance</a>(this->c.pro, &center, &c)) < dist && item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a><type_line) {</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">char</span>* <a class="code" href="garmin__img_8c.html#a6db8523928c426c16ad964797cd0098c">label</a>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  QString rs;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">if</span> (<a class="code" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a>(item, attr_label, &attr)) {</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  label=<a class="code" href="map_8c.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string</a>(m, attr.<a class="code" href="structattr.html#a682d33096ece5ad806426918c15c4b10">u</a>.<a class="code" href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">str</a>);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">if</span> (QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)).startsWith(QString(<span class="stringliteral">"poi_"</span>))) {</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  rs=QString::fromLocal8Bit(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>));</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  rs=rs.remove(QString(<span class="stringliteral">"poi_"</span>));</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  rs+=QString(<span class="stringliteral">" "</span>)+QString::fromLocal8Bit(label);</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)).startsWith(QString(<span class="stringliteral">"poly_"</span>))) {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  rs=QString::fromLocal8Bit(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>));</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  rs=rs.remove(QString(<span class="stringliteral">"poly_"</span>));</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  rs+=QString(<span class="stringliteral">" "</span>)+QString::fromLocal8Bit(label);</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)).startsWith(QString(<span class="stringliteral">"street_"</span>))) {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  rs=<span class="stringliteral">"Street "</span>;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  rs+=QString::fromLocal8Bit(label);</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  }</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54">map_convert_free</a>(label);</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  } <span class="keywordflow">else</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  rs=<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="ngqpoint_8h.html#a56a72d46214e1735ec8c1b1dbd6bf993">get_direction</a>(dirbuf, <a class="code" href="transform_8c.html#a957cf45974ab30e11fdba372af1468e6">transform_get_angle_delta</a>(&center, &c, 0), 1);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordflow">if</span> (rs.length()>0) {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  QDomElement entry=retDoc.createElement(<span class="stringliteral">"point"</span>);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  QDomElement nameTag=retDoc.createElement(<span class="stringliteral">"name"</span>);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  QDomElement typeTag=retDoc.createElement(<span class="stringliteral">"type"</span>);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  QDomElement distTag=retDoc.createElement(<span class="stringliteral">"distance"</span>);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  QDomElement directTag=retDoc.createElement(<span class="stringliteral">"direction"</span>);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  QDomElement coordsTag=retDoc.createElement(<span class="stringliteral">"coords"</span>);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  QDomText nameT=retDoc.createTextNode(rs);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  QDomText typeT=retDoc.createTextNode(QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)));</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  QDomText distT=retDoc.createTextNode(QString::number(idist/1000));</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  QDomText directT=retDoc.createTextNode(dirbuf);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  QDomText coordsT=retDoc.createTextNode(QString(<span class="stringliteral">"%1 %2"</span>).arg(c.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>).arg(c.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>));</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  nameTag.appendChild(nameT);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  typeTag.appendChild(typeT);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  distTag.appendChild(distT);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  directTag.appendChild(directT);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  coordsTag.appendChild(coordsT);</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  entry.appendChild(nameTag);</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  entry.appendChild(typeTag);</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  entry.appendChild(distTag);</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  entry.appendChild(directTag);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  entry.appendChild(coordsTag);</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  entries.appendChild(entry);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  }</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  }</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  }</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="map_8c.html#a51455e36692349b9fecdd677a40c6c4f">map_selection_destroy</a>(selm);</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <a class="code" href="map_8c.html#a51455e36692349b9fecdd677a40c6c4f">map_selection_destroy</a>(sel);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="code" href="mapset_8c.html#aff7284837514c15ea5468463f9329435">mapset_close</a>(h);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>(<a class="code" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a6e67a0649f81060a391cfe102acbd707">lvl_info</a>,<span class="stringliteral">"%s"</span>,retDoc.toString().toLocal8Bit().constData());</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">return</span> retDoc.toString();</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a514f30084f729c4d3ea8d8d3460f4b84"> 255</a></span>  QDomElement <a class="code" href="classNGQPoint.html#a514f30084f729c4d3ea8d8d3460f4b84">_fieldValueHelper</a>(QDomDocument doc, QString field,QString <a class="code" href="datawindow_8c.html#ab10bc3dfea7bd427cb6cbf318eb80c1e">value</a>) {</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  QDomElement fieldTag=doc.createElement(field);</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  QDomText valueText=doc.createTextNode(value);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  fieldTag.appendChild(valueText);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">return</span> fieldTag;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  }</div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872"> 261</a></span>  QString <a class="code" href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">_coordString</a>() {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordtype">char</span> latc=<span class="charliteral">'N'</span>,lngc=<span class="charliteral">'E'</span>;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordtype">int</span> lat_deg,lat_min,lat_sec;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordtype">int</span> lng_deg,lng_min,lng_sec;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keyword">struct </span><a class="code" href="structcoord__geo.html">coord_geo</a> g=this-><a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">if</span> (g.<a class="code" href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">lat</a> < 0) {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  g.<a class="code" href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">lat</a>=-g.<a class="code" href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">lat</a>;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  latc=<span class="charliteral">'S'</span>;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordflow">if</span> (g.<a class="code" href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">lng</a> < 0) {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  g.<a class="code" href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">lng</a>=-g.<a class="code" href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">lng</a>;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  lngc=<span class="charliteral">'W'</span>;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  }</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  lat_deg=g.<a class="code" href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">lat</a>;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  lat_min=fmod(g.<a class="code" href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">lat</a>*60,60);</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  lat_sec=fmod(g.<a class="code" href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">lat</a>*3600,60);</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  lng_deg=g.<a class="code" href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">lng</a>;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  lng_min=fmod(g.<a class="code" href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">lng</a>*60,60);</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  lng_sec=fmod(g.<a class="code" href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">lng</a>*3600,60);</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">return</span> QString(QString::fromLocal8Bit(<span class="stringliteral">"%1°%2'%3\" %4%5%6°%7'%8\" %9"</span>)).arg(lat_deg).arg(lat_min).arg(lat_sec).arg(latc).arg(<span class="charliteral">' '</span>).arg(lng_deg).arg(lng_min).arg(lng_sec).arg(lngc);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2"> 283</a></span>  QString <a class="code" href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2">_coordName</a>() {</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordtype">int</span> dist=10;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keyword">struct </span><a class="code" href="structmapset.html">mapset</a> *ms;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keyword">struct </span><a class="code" href="structmapset__handle.html">mapset_handle</a> *h;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keyword">struct </span><a class="code" href="structmap__rect.html">map_rect</a> *mr;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keyword">struct </span><a class="code" href="structmap.html">map</a> *m;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">struct </span><a class="code" href="structitem.html">item</a> *<a class="code" href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d">item</a>;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keyword">struct </span><a class="code" href="structstreet__data.html">street_data</a> *<a class="code" href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a>;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keyword">struct </span><a class="code" href="structmap__selection.html">map_selection</a> sel;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keyword">struct </span><a class="code" href="structtransformation.html">transformation</a> *trans;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keyword">enum</span> <a class="code" href="projection_8h.html#a380c9c985eef434d23f9a7b95a52cbc1">projection</a> <a class="code" href="structtransformation.html#a826bd5cb4af97a4f80331b57e04cf6d8">pro</a>;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keyword">struct </span><a class="code" href="structattr.html">attr</a> attr;</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">char</span> *<a class="code" href="garmin__img_8c.html#a6db8523928c426c16ad964797cd0098c">label</a>;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  QString ret;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  trans=<a class="code" href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  pro=<a class="code" href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a>(trans);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="transform_8c.html#a429351cbffb0701a9ffb7afae6c0ad6e">transform_from_geo</a>(pro, &<a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>, &<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  ms=<a class="code" href="group__navit.html#ga500b4ba7a20151bf7603ac2c740b457f">navit_get_mapset</a>(this-><a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>-><a class="code" href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">nav</a>);</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  sel.<a class="code" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">next</a>=NULL;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  sel.<a class="code" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">u</a>.<a class="code" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">c_rect</a>.<a class="code" href="structcoord__rect.html#a8da493b41946d949510bada53c32667a">lu</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=<a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a>-dist;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  sel.<a class="code" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">u</a>.<a class="code" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">c_rect</a>.<a class="code" href="structcoord__rect.html#a8da493b41946d949510bada53c32667a">lu</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=<a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a>+dist;</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  sel.<a class="code" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">u</a>.<a class="code" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">c_rect</a>.<a class="code" href="structcoord__rect.html#a0aa5ec921d6c01e81eea35f701962bd7">rl</a>.<a class="code" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">x</a>=<a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">x</a>+dist;</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  sel.<a class="code" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">u</a>.<a class="code" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">c_rect</a>.<a class="code" href="structcoord__rect.html#a0aa5ec921d6c01e81eea35f701962bd7">rl</a>.<a class="code" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">y</a>=<a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>.<a class="code" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">y</a>-dist;</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  sel.<a class="code" href="structmap__selection.html#a1983d9d4a5df17d7a8d70fc7a7f1d9bf">order</a>=18;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  sel.<a class="code" href="structmap__selection.html#a9b160a76565e6f18e27042d4f06feeaa">range</a>=<a class="code" href="item_8c.html#a9d74082234bf94fe04bd8585c40c7f90">item_range_all</a>;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  h=<a class="code" href="mapset_8c.html#a101513e5ab4c27dc04ba3e8f0a8bf19d">mapset_open</a>(ms);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">while</span> ((m=<a class="code" href="mapset_8c.html#a7514e385a1a1ad3a2d1c40b4fc7ccfd7">mapset_next</a>(h,1))) {</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  mr=<a class="code" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new</a>(m, &sel);</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">if</span> (! mr)</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">while</span> ((item=<a class="code" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item</a>(mr))) {</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  data=<a class="code" href="street_8c.html#a62db20bbc91ea49e6f4b5392351a77eb">street_get_data</a>(item);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">if</span> (<a class="code" href="transform_8c.html#aeb74e833a1968a5509cc19fe48d2d3d1">transform_within_dist_item</a>(&<a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>, item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>, data-><a class="code" href="structstreet__data.html#aa1320249fcb1425f71d076eacb1bdb47">c</a>, data-><a class="code" href="structstreet__data.html#aae566cd82e377cec86f6c98672e1cf19">count</a>, dist)) {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordflow">if</span> (<a class="code" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a>(item, attr_label, &attr)) {</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  label=<a class="code" href="map_8c.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string</a>(m, attr.<a class="code" href="structattr.html#a682d33096ece5ad806426918c15c4b10">u</a>.<a class="code" href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">str</a>);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  this->item=*<a class="code" href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d">item</a>;</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  this-><a class="code" href="classNGQPoint.html#a293702a301465b3c1014c769824e7d7a">_setUrl</a>(item);</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keywordflow">if</span> (QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)).startsWith(QString(<span class="stringliteral">"poi_"</span>))) {</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  ret=QString::fromLocal8Bit(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>));</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  ret=ret.remove(QString(<span class="stringliteral">"poi_"</span>));</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  ret+=QString(<span class="stringliteral">" "</span>)+QString::fromLocal8Bit(label);</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  }</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">if</span> (QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)).startsWith(QString(<span class="stringliteral">"poly_"</span>))) {</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  ret=QString::fromLocal8Bit(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>));</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  ret=ret.remove(QString(<span class="stringliteral">"poly_"</span>));</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  ret+=QString(<span class="stringliteral">" "</span>)+QString::fromLocal8Bit(label);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  }</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">if</span> (QString(<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>)).startsWith(QString(<span class="stringliteral">"street_"</span>))) {</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  ret=<span class="stringliteral">"Street "</span>;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  ret+=QString::fromLocal8Bit(label);</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  }</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54">map_convert_free</a>(label);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <a class="code" href="route_8c.html#abbb407c7b7f4e713736961d6b6c121f0">street_data_free</a>(data);</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy</a>(mr);</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="mapset_8c.html#aff7284837514c15ea5468463f9329435">mapset_close</a>(h);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  } <span class="keywordflow">else</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  this->item=*<a class="code" href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d">item</a>;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  this-><a class="code" href="classNGQPoint.html#a293702a301465b3c1014c769824e7d7a">_setUrl</a>(item);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  ret=<a class="code" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a>(item-><a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a>);</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  }</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <a class="code" href="route_8c.html#abbb407c7b7f4e713736961d6b6c121f0">street_data_free</a>(data);</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <a class="code" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy</a>(mr);</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  }</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <a class="code" href="mapset_8c.html#aff7284837514c15ea5468463f9329435">mapset_close</a>(h);</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  }</div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a293702a301465b3c1014c769824e7d7a"> 352</a></span>  <span class="keywordtype">void</span> <a class="code" href="classNGQPoint.html#a293702a301465b3c1014c769824e7d7a">_setUrl</a>(<span class="keyword">struct</span> <a class="code" href="structitem.html">item</a> *<a class="code" href="structitem.html">item</a>) {</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keyword">struct </span><a class="code" href="structattr.html">attr</a> attr;</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keywordflow">if</span> (<a class="code" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a>(item,attr_osm_nodeid,&attr)) {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <a class="code" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">url</a>.setUrl(QString(<span class="stringliteral">"http://www.openstreetmap.org/browse/node/%1"</span>).arg(*attr.<a class="code" href="structattr.html#a682d33096ece5ad806426918c15c4b10">u</a>.<a class="code" href="structattr.html#a0d3d1044686cbff653331809314976a5">num64</a>));</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a>(item,attr_osm_wayid,&attr)) {</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">url</a>.setUrl(QString(<span class="stringliteral">"http://www.openstreetmap.org/browse/way/%1"</span>).arg(*attr.<a class="code" href="structattr.html#a682d33096ece5ad806426918c15c4b10">u</a>.<a class="code" href="structattr.html#a0d3d1044686cbff653331809314976a5">num64</a>));</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a>(item,attr_osm_relationid,&attr)) {</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="code" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">url</a>.setUrl(QString(<span class="stringliteral">"http://www.openstreetmap.org/browse/relation/%1"</span>).arg(*attr.<a class="code" href="structattr.html#a682d33096ece5ad806426918c15c4b10">u</a>.<a class="code" href="structattr.html#a0d3d1044686cbff653331809314976a5">num64</a>));</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <a class="code" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">url</a>.clear();</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  }</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573"> 365</a></span>  <span class="keyword">struct </span><a class="code" href="structgui__priv.html">gui_priv</a>* <a class="code" href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">object</a>;</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> </div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d"> 367</a></span>  <a class="code" href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a> <a class="code" href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">type</a>;</div><div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe"> 368</a></span>  <span class="keyword">struct </span><a class="code" href="structcoord__geo.html">coord_geo</a> <a class="code" href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">g</a>;</div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5"> 369</a></span>  <span class="keyword">struct </span><a class="code" href="structcoord.html">coord</a> <a class="code" href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">co</a>;</div><div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4"> 370</a></span>  <span class="keyword">struct </span><a class="code" href="structpcoord.html">pcoord</a> <a class="code" href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">c</a>;</div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a2a6e0d410da6865b691f7b699d851b32"> 371</a></span>  <span class="keyword">struct </span><a class="code" href="structpoint.html">point</a> <a class="code" href="classNGQPoint.html#a2a6e0d410da6865b691f7b699d851b32">p</a>;</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d"> 373</a></span>  <span class="keyword">struct </span><a class="code" href="structitem.html">item</a> <a class="code" href="structitem.html">item</a>;</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span> </div><div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381"> 375</a></span>  QString <a class="code" href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">name</a>;</div><div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a29ece446e1394efa434c2ede3a3f29d6"> 376</a></span>  QString <a class="code" href="classNGQPoint.html#a29ece446e1394efa434c2ede3a3f29d6">coord</a>;</div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d"> 377</a></span>  QUrl <a class="code" href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">url</a>;</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> };</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span> </div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="preprocessor">#include "ngqpoint.moc"</span></div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="preprocessor">#endif </span><span class="comment">/* NAVIT_GUI_QML_POINT_H */</span><span class="preprocessor"></span></div><div class="ttc" id="map_8c_html_a4615d67b2a27e13f2341f278e9631c54"><div class="ttname"><a href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54">map_convert_free</a></div><div class="ttdeci">void map_convert_free(char *str)</div><div class="ttdoc">Frees the memory allocated for a converted string. </div><div class="ttdef"><b>Definition:</b> map.c:248</div></div>
<div class="ttc" id="classNGQPoint_html_a29ece446e1394efa434c2ede3a3f29d6"><div class="ttname"><a href="classNGQPoint.html#a29ece446e1394efa434c2ede3a3f29d6">NGQPoint::coord</a></div><div class="ttdeci">QString coord</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:376</div></div>
<div class="ttc" id="classNGQPoint_html_a8d53afda2ecea29a7fdacd13074145c7"><div class="ttname"><a href="classNGQPoint.html#a8d53afda2ecea29a7fdacd13074145c7">NGQPoint::getInformation</a></div><div class="ttdeci">QString getInformation()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:142</div></div>
<div class="ttc" id="debug_8h_html_a3ce13c42b29fe2a7552478859b7f3c25a6e67a0649f81060a391cfe102acbd707"><div class="ttname"><a href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a6e67a0649f81060a391cfe102acbd707">lvl_info</a></div><div class="ttdef"><b>Definition:</b> debug.h:50</div></div>
<div class="ttc" id="structgui__priv_html_ae5d9402f7e218085adad1c80599f142c"><div class="ttname"><a href="structgui__priv.html#ae5d9402f7e218085adad1c80599f142c">gui_priv::gui</a></div><div class="ttdeci">struct gui * gui</div><div class="ttdef"><b>Definition:</b> gui_qml.cpp:40</div></div>
<div class="ttc" id="item_8c_html_a1f97d6a6d85956aa73deb31d4a16397f"><div class="ttname"><a href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get</a></div><div class="ttdeci">int item_attr_get(struct item *it, enum attr_type attr_type, struct attr *attr)</div><div class="ttdoc">Gets the next matching attribute from an item. </div><div class="ttdef"><b>Definition:</b> item.c:355</div></div>
<div class="ttc" id="classNGQPoint_html_afa8721c4cdd2d8484005dfb28eae75b5"><div class="ttname"><a href="classNGQPoint.html#afa8721c4cdd2d8484005dfb28eae75b5">NGQPoint::co</a></div><div class="ttdeci">struct coord co</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:369</div></div>
<div class="ttc" id="structitem_html_a9d90a195a3654c3b1e872ad92ae74369"><div class="ttname"><a href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a></div><div class="ttdeci">struct map * map</div><div class="ttdef"><b>Definition:</b> item.h:103</div></div>
<div class="ttc" id="ngqpoint_8h_html_a56a72d46214e1735ec8c1b1dbd6bf993"><div class="ttname"><a href="ngqpoint_8h.html#a56a72d46214e1735ec8c1b1dbd6bf993">get_direction</a></div><div class="ttdeci">static void get_direction(char *buffer, int angle, int mode)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:5</div></div>
<div class="ttc" id="structparent_html"><div class="ttname"><a href="structparent.html">parent</a></div><div class="ttdef"><b>Definition:</b> gpx2navit_txt.h:51</div></div>
<div class="ttc" id="ngqpoint_8h_html_ab85b18a34fce0dfc4f1c63142bc889a4a844bd75af9a6a7871056f378121ee2f5"><div class="ttname"><a href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a844bd75af9a6a7871056f378121ee2f5">MapPoint</a></div><div class="ttdef"><b>Definition:</b> ngqpoint.h:32</div></div>
<div class="ttc" id="structcoord_html_a2b099692d87f98e4844b615136ca37fb"><div class="ttname"><a href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">coord::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition:</b> coord.h:36</div></div>
<div class="ttc" id="classNGQPoint_html_a293702a301465b3c1014c769824e7d7a"><div class="ttname"><a href="classNGQPoint.html#a293702a301465b3c1014c769824e7d7a">NGQPoint::_setUrl</a></div><div class="ttdeci">void _setUrl(struct item *item)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:352</div></div>
<div class="ttc" id="structattr__name_html"><div class="ttname"><a href="structattr__name.html">attr_name</a></div><div class="ttdef"><b>Definition:</b> attr.c:48</div></div>
<div class="ttc" id="classNGQPoint_html_ae78867c696a50e9f08c988283c04e2e8"><div class="ttname"><a href="classNGQPoint.html#ae78867c696a50e9f08c988283c04e2e8">NGQPoint::getPOI</a></div><div class="ttdeci">QString getPOI(const QString &attr_name)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:164</div></div>
<div class="ttc" id="map_8c_html_a51455e36692349b9fecdd677a40c6c4f"><div class="ttname"><a href="map_8c.html#a51455e36692349b9fecdd677a40c6c4f">map_selection_destroy</a></div><div class="ttdeci">void map_selection_destroy(struct map_selection *sel)</div><div class="ttdoc">Destroys a map selection. </div><div class="ttdef"><b>Definition:</b> map.c:556</div></div>
<div class="ttc" id="transform_8c_html_a957cf45974ab30e11fdba372af1468e6"><div class="ttname"><a href="transform_8c.html#a957cf45974ab30e11fdba372af1468e6">transform_get_angle_delta</a></div><div class="ttdeci">int transform_get_angle_delta(struct coord *c1, struct coord *c2, int dir)</div><div class="ttdoc">Gets the bearing from one point to another. </div><div class="ttdef"><b>Definition:</b> transform.c:1359</div></div>
<div class="ttc" id="structmap__selection_html_ae00c4fb58fffa37688d33f864310a7b5"><div class="ttname"><a href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">map_selection::c_rect</a></div><div class="ttdeci">struct coord_rect c_rect</div><div class="ttdef"><b>Definition:</b> map.h:60</div></div>
<div class="ttc" id="structitem_html"><div class="ttname"><a href="structitem.html">item</a></div><div class="ttdef"><b>Definition:</b> item.h:99</div></div>
<div class="ttc" id="structpcoord_html_a3f0d3a1ce2a3798b305b32c2a2c13495"><div class="ttname"><a href="structpcoord.html#a3f0d3a1ce2a3798b305b32c2a2c13495">pcoord::pro</a></div><div class="ttdeci">enum projection pro</div><div class="ttdef"><b>Definition:</b> coord.h:53</div></div>
<div class="ttc" id="classNGQPoint_html_a31d0a811c12d8b1e0501c57ac242eca9"><div class="ttname"><a href="classNGQPoint.html#a31d0a811c12d8b1e0501c57ac242eca9">NGQPoint::NGQPoint</a></div><div class="ttdeci">NGQPoint(struct gui_priv *this_, struct point *p, NGQPointTypes type=MapPoint, QObject *parent=NULL)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:42</div></div>
<div class="ttc" id="mapset_8c_html_a7514e385a1a1ad3a2d1c40b4fc7ccfd7"><div class="ttname"><a href="mapset_8c.html#a7514e385a1a1ad3a2d1c40b4fc7ccfd7">mapset_next</a></div><div class="ttdeci">struct map * mapset_next(struct mapset_handle *msh, int active)</div><div class="ttdoc">Gets the next map from a mapset handle. </div><div class="ttdef"><b>Definition:</b> mapset.c:197</div></div>
<div class="ttc" id="structmapset_html"><div class="ttname"><a href="structmapset.html">mapset</a></div><div class="ttdoc">A mapset. </div><div class="ttdef"><b>Definition:</b> mapset.c:44</div></div>
<div class="ttc" id="structpcoord_html_a0e18858a037dadd7f64f0f139cac85d0"><div class="ttname"><a href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">pcoord::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition:</b> coord.h:55</div></div>
<div class="ttc" id="classNGQPoint_html_a1b800053d6589636dd3d7acbb2197381"><div class="ttname"><a href="classNGQPoint.html#a1b800053d6589636dd3d7acbb2197381">NGQPoint::name</a></div><div class="ttdeci">QString name</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:375</div></div>
<div class="ttc" id="structcoord__geo_html_aa780b02448f92912d7c6a541f289e8fb"><div class="ttname"><a href="structcoord__geo.html#aa780b02448f92912d7c6a541f289e8fb">coord_geo::lng</a></div><div class="ttdeci">navit_float lng</div><div class="ttdef"><b>Definition:</b> coord.h:98</div></div>
<div class="ttc" id="classNGQPoint_html_a2a6e0d410da6865b691f7b699d851b32"><div class="ttname"><a href="classNGQPoint.html#a2a6e0d410da6865b691f7b699d851b32">NGQPoint::p</a></div><div class="ttdeci">struct point p</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:371</div></div>
<div class="ttc" id="gui_8c_html_a5a1522548f59382880f17b0e05887817"><div class="ttname"><a href="gui_8c.html#a5a1522548f59382880f17b0e05887817">gui_get_attr</a></div><div class="ttdeci">int gui_get_attr(struct gui *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)</div><div class="ttdef"><b>Definition:</b> gui.c:61</div></div>
<div class="ttc" id="classNGQPoint_html_a2f5f62dbcbb7cf73949da9298b842a06"><div class="ttname"><a href="classNGQPoint.html#a2f5f62dbcbb7cf73949da9298b842a06">NGQPoint::pointType</a></div><div class="ttdeci">QString pointType()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:124</div></div>
<div class="ttc" id="map_8c_html_a956c6e8398f832e31fe90634fa982dbf"><div class="ttname"><a href="map_8c.html#a956c6e8398f832e31fe90634fa982dbf">map_projection</a></div><div class="ttdeci">enum projection map_projection(struct map *this_)</div><div class="ttdoc">Returns the projection of a map. </div><div class="ttdef"><b>Definition:</b> map.c:258</div></div>
<div class="ttc" id="structmap__selection_html_a0f7fd983dfb06bf8aba44c212bc8a78f"><div class="ttname"><a href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">map_selection::u</a></div><div class="ttdeci">union map_selection::@8 u</div></div>
<div class="ttc" id="map_8c_html_af44c00a5c0938889e420cd8c5b87a92a"><div class="ttname"><a href="map_8c.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string</a></div><div class="ttdeci">char * map_convert_string(struct map *this_, char *str)</div><div class="ttdoc">Converts a string from a map. </div><div class="ttdef"><b>Definition:</b> map.c:230</div></div>
<div class="ttc" id="structmap__selection_html_a9b160a76565e6f18e27042d4f06feeaa"><div class="ttname"><a href="structmap__selection.html#a9b160a76565e6f18e27042d4f06feeaa">map_selection::range</a></div><div class="ttdeci">struct item_range range</div><div class="ttdef"><b>Definition:</b> map.h:64</div></div>
<div class="ttc" id="structitem_html_a3abafd36669ef817be82676acd8e5989"><div class="ttname"><a href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a></div><div class="ttdeci">enum item_type type</div><div class="ttdef"><b>Definition:</b> item.h:100</div></div>
<div class="ttc" id="route_8c_html_abbb407c7b7f4e713736961d6b6c121f0"><div class="ttname"><a href="route_8c.html#abbb407c7b7f4e713736961d6b6c121f0">street_data_free</a></div><div class="ttdeci">void street_data_free(struct street_data *sd)</div><div class="ttdoc">Frees street data. </div><div class="ttdef"><b>Definition:</b> route.c:3304</div></div>
<div class="ttc" id="datawindow_8c_html_ab10bc3dfea7bd427cb6cbf318eb80c1e"><div class="ttname"><a href="datawindow_8c.html#ab10bc3dfea7bd427cb6cbf318eb80c1e">value</a></div><div class="ttdeci">static GValue value</div><div class="ttdef"><b>Definition:</b> datawindow.c:42</div></div>
<div class="ttc" id="structpoint_html_ad679b07fb69d55f5ad454d0f1f2891d5"><div class="ttname"><a href="structpoint.html#ad679b07fb69d55f5ad454d0f1f2891d5">point::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition:</b> point.h:24</div></div>
<div class="ttc" id="ngqpoint_8h_html_ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77"><div class="ttname"><a href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a1964060b46aa47674fe62b5881641a77">Bookmark</a></div><div class="ttdef"><b>Definition:</b> ngqpoint.h:32</div></div>
<div class="ttc" id="structpcoord_html_a875f35249b19419eb6dfbad5ff18f268"><div class="ttname"><a href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">pcoord::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition:</b> coord.h:54</div></div>
<div class="ttc" id="item_8c_html_adb033f52350446fc9cbb68f977b5047a"><div class="ttname"><a href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name</a></div><div class="ttdeci">char * item_to_name(enum item_type item)</div><div class="ttdef"><b>Definition:</b> item.c:424</div></div>
<div class="ttc" id="group__navit_html_ga500b4ba7a20151bf7603ac2c740b457f"><div class="ttname"><a href="group__navit.html#ga500b4ba7a20151bf7603ac2c740b457f">navit_get_mapset</a></div><div class="ttdeci">struct mapset * navit_get_mapset(struct navit *this_)</div><div class="ttdoc">Get the current mapset. </div><div class="ttdef"><b>Definition:</b> navit.c:224</div></div>
<div class="ttc" id="structgui__priv_html"><div class="ttname"><a href="structgui__priv.html">gui_priv</a></div><div class="ttdef"><b>Definition:</b> graphics_win32.h:52</div></div>
<div class="ttc" id="structtransformation_html_a826bd5cb4af97a4f80331b57e04cf6d8"><div class="ttname"><a href="structtransformation.html#a826bd5cb4af97a4f80331b57e04cf6d8">transformation::pro</a></div><div class="ttdeci">enum projection pro</div><div class="ttdef"><b>Definition:</b> transform.c:87</div></div>
<div class="ttc" id="transform_8c_html_aeb74e833a1968a5509cc19fe48d2d3d1"><div class="ttname"><a href="transform_8c.html#aeb74e833a1968a5509cc19fe48d2d3d1">transform_within_dist_item</a></div><div class="ttdeci">int transform_within_dist_item(struct coord *ref, enum item_type type, struct coord *c, int count, int dist)</div><div class="ttdef"><b>Definition:</b> transform.c:1476</div></div>
<div class="ttc" id="classNGQPoint_html_ab060f4958a72baccb813b871d597bde1"><div class="ttname"><a href="classNGQPoint.html#ab060f4958a72baccb813b871d597bde1">NGQPoint::NGQPoint</a></div><div class="ttdeci">NGQPoint(struct gui_priv *this_, struct coord *c, QString name, NGQPointTypes type=Bookmark, QObject *parent=NULL)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:87</div></div>
<div class="ttc" id="structcoord__rect_html_a8da493b41946d949510bada53c32667a"><div class="ttname"><a href="structcoord__rect.html#a8da493b41946d949510bada53c32667a">coord_rect::lu</a></div><div class="ttdeci">struct coord lu</div><div class="ttdef"><b>Definition:</b> coord.h:59</div></div>
<div class="ttc" id="map_8c_html_a9e27d0888db14bf9b88727ead943eaf6"><div class="ttname"><a href="map_8c.html#a9e27d0888db14bf9b88727ead943eaf6">map_rect_get_item_byid</a></div><div class="ttdeci">struct item * map_rect_get_item_byid(struct map_rect *mr, int id_hi, int id_lo)</div><div class="ttdoc">Returns the item specified by the ID. </div><div class="ttdef"><b>Definition:</b> map.c:355</div></div>
<div class="ttc" id="structmapset__handle_html"><div class="ttname"><a href="structmapset__handle.html">mapset_handle</a></div><div class="ttdoc">Handle for a mapset in use. </div><div class="ttdef"><b>Definition:</b> mapset.c:155</div></div>
<div class="ttc" id="debug_8h_html_aba3c0ccefe6daa8941b173073268729e"><div class="ttname"><a href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a></div><div class="ttdeci">#define dbg(level,...)</div><div class="ttdef"><b>Definition:</b> debug.h:59</div></div>
<div class="ttc" id="classNGQPoint_html_a49fc973e9ed3b65603f233ef8f2e8e48"><div class="ttname"><a href="classNGQPoint.html#a49fc973e9ed3b65603f233ef8f2e8e48">NGQPoint::NGQPoint</a></div><div class="ttdeci">NGQPoint(struct gui_priv *this_, struct pcoord *pc, NGQPointTypes type=Bookmark, QObject *parent=NULL)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:72</div></div>
<div class="ttc" id="classNGQPoint_html_af2fd550bb235dfabaa8be49b87cda70c"><div class="ttname"><a href="classNGQPoint.html#af2fd550bb235dfabaa8be49b87cda70c">NGQPoint::pointName</a></div><div class="ttdeci">QString pointName()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:118</div></div>
<div class="ttc" id="classNGQPoint_html_a05d5c21ee472eb8e7ee1f89bd8d0dbd2"><div class="ttname"><a href="classNGQPoint.html#a05d5c21ee472eb8e7ee1f89bd8d0dbd2">NGQPoint::_coordName</a></div><div class="ttdeci">QString _coordName()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:283</div></div>
<div class="ttc" id="mapset_8c_html_aff7284837514c15ea5468463f9329435"><div class="ttname"><a href="mapset_8c.html#aff7284837514c15ea5468463f9329435">mapset_close</a></div><div class="ttdeci">void mapset_close(struct mapset_handle *msh)</div><div class="ttdoc">Closes a mapset handle after it is no longer used. </div><div class="ttdef"><b>Definition:</b> mapset.c:260</div></div>
<div class="ttc" id="projection_8h_html_a380c9c985eef434d23f9a7b95a52cbc1"><div class="ttname"><a href="projection_8h.html#a380c9c985eef434d23f9a7b95a52cbc1">projection</a></div><div class="ttdeci">projection</div><div class="ttdef"><b>Definition:</b> projection.h:23</div></div>
<div class="ttc" id="classNGQPoint_html_aba3ae95ebb38154301bab38f55f7d573"><div class="ttname"><a href="classNGQPoint.html#aba3ae95ebb38154301bab38f55f7d573">NGQPoint::object</a></div><div class="ttdeci">struct gui_priv * object</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:365</div></div>
<div class="ttc" id="structstreet__data_html_aa1320249fcb1425f71d076eacb1bdb47"><div class="ttname"><a href="structstreet__data.html#aa1320249fcb1425f71d076eacb1bdb47">street_data::c</a></div><div class="ttdeci">struct coord c[0]</div><div class="ttdef"><b>Definition:</b> route.h:71</div></div>
<div class="ttc" id="structmap__selection_html_a1c83ff016741893133014d58cfc38e25"><div class="ttname"><a href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a></div><div class="ttdeci">struct map_selection * next</div><div class="ttdef"><b>Definition:</b> map.h:58</div></div>
<div class="ttc" id="classNGQPoint_html_ab659b13168090b8b3608404a91a14ce4"><div class="ttname"><a href="classNGQPoint.html#ab659b13168090b8b3608404a91a14ce4">NGQPoint::c</a></div><div class="ttdeci">struct pcoord c</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:370</div></div>
<div class="ttc" id="structmap__rect_html"><div class="ttname"><a href="structmap__rect.html">map_rect</a></div><div class="ttdoc">Describes a rectangular extract of a map. </div><div class="ttdef"><b>Definition:</b> map.c:72</div></div>
<div class="ttc" id="structstreet__data_html"><div class="ttname"><a href="structstreet__data.html">street_data</a></div><div class="ttdoc">Information about a street. </div><div class="ttdef"><b>Definition:</b> route.h:66</div></div>
<div class="ttc" id="structattr_html_a682d33096ece5ad806426918c15c4b10"><div class="ttname"><a href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a></div><div class="ttdeci">union attr::@0 u</div></div>
<div class="ttc" id="classNGQPoint_html_a1dd6c372ef3da7a88679300518977edd"><div class="ttname"><a href="classNGQPoint.html#a1dd6c372ef3da7a88679300518977edd">NGQPoint::NGQPoint</a></div><div class="ttdeci">NGQPoint(struct gui_priv *this_, struct coord *c, NGQPointTypes type=Bookmark, QObject *parent=NULL)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:57</div></div>
<div class="ttc" id="attr_8c_html_aa0ebda0950efd7e0f64fecf36ae5c462"><div class="ttname"><a href="attr_8c.html#aa0ebda0950efd7e0f64fecf36ae5c462">attr_to_text</a></div><div class="ttdeci">char * attr_to_text(struct attr *attr, struct map *map, int pretty)</div><div class="ttdoc">Converts an attribute to a string that can be displayed. </div><div class="ttdef"><b>Definition:</b> attr.c:490</div></div>
<div class="ttc" id="structattr_html_aebf8c468883c8a41033b97c2ae91003b"><div class="ttname"><a href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a></div><div class="ttdeci">long num</div><div class="ttdef"><b>Definition:</b> attr.h:162</div></div>
<div class="ttc" id="map_8c_html_afe7311d63f1e8a4a697634cf79329f7d"><div class="ttname"><a href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy</a></div><div class="ttdeci">void map_rect_destroy(struct map_rect *mr)</div><div class="ttdoc">Destroys a map rect. </div><div class="ttdef"><b>Definition:</b> map.c:371</div></div>
<div class="ttc" id="item_8c_html_a088682cd8951907090cbf68b4c9e0f83"><div class="ttname"><a href="item_8c.html#a088682cd8951907090cbf68b4c9e0f83">item_coord_get_pro</a></div><div class="ttdeci">int item_coord_get_pro(struct item *it, struct coord *c, int count, enum projection to)</div><div class="ttdoc">Gets the next coordinates from an item and reprojects them. </div><div class="ttdef"><b>Definition:</b> item.c:295</div></div>
<div class="ttc" id="classNGQPoint_html_a45ef8ade72083b7c9586d3463d883c2d"><div class="ttname"><a href="classNGQPoint.html#a45ef8ade72083b7c9586d3463d883c2d">NGQPoint::item</a></div><div class="ttdeci">struct item item</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:373</div></div>
<div class="ttc" id="structgui__priv_html_a70639d18916307d27d257d3f2b0f3955"><div class="ttname"><a href="structgui__priv.html#a70639d18916307d27d257d3f2b0f3955">gui_priv::nav</a></div><div class="ttdeci">struct navit * nav</div><div class="ttdef"><b>Definition:</b> graphics_win32.h:53</div></div>
<div class="ttc" id="map_8c_html_ae025c855207536977afd84d39b316e9c"><div class="ttname"><a href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item</a></div><div class="ttdeci">struct item * map_rect_get_item(struct map_rect *mr)</div><div class="ttdoc">Gets the next item from a map rect. </div><div class="ttdef"><b>Definition:</b> map.c:327</div></div>
<div class="ttc" id="classNGQPoint_html_a0f3067d34e0478d4cc6f9173b196a44e"><div class="ttname"><a href="classNGQPoint.html#a0f3067d34e0478d4cc6f9173b196a44e">NGQPoint::pc</a></div><div class="ttdeci">struct pcoord * pc()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:102</div></div>
<div class="ttc" id="garmin__img_8c_html_a433b1c9921d3b90f7c145c781a43f325"><div class="ttname"><a href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a></div><div class="ttdeci">char data</div><div class="ttdef"><b>Definition:</b> garmin_img.c:330</div></div>
<div class="ttc" id="structattr_html"><div class="ttname"><a href="structattr.html">attr</a></div><div class="ttdef"><b>Definition:</b> attr.h:157</div></div>
<div class="ttc" id="mapset_8c_html_a101513e5ab4c27dc04ba3e8f0a8bf19d"><div class="ttname"><a href="mapset_8c.html#a101513e5ab4c27dc04ba3e8f0a8bf19d">mapset_open</a></div><div class="ttdeci">struct mapset_handle * mapset_open(struct mapset *ms)</div><div class="ttdoc">Returns a new handle for a mapset. </div><div class="ttdef"><b>Definition:</b> mapset.c:169</div></div>
<div class="ttc" id="structmap__selection_html"><div class="ttname"><a href="structmap__selection.html">map_selection</a></div><div class="ttdoc">Used to select data from a map. </div><div class="ttdef"><b>Definition:</b> map.h:57</div></div>
<div class="ttc" id="structattr_html_acbbeecb9ce16c2d7973d0bd2ff544457"><div class="ttname"><a href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a></div><div class="ttdeci">enum attr_type type</div><div class="ttdef"><b>Definition:</b> attr.h:158</div></div>
<div class="ttc" id="map_8c_html_a52e6ae5ec3beaec49ce12ce603d7d72a"><div class="ttname"><a href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new</a></div><div class="ttdeci">struct map_rect * map_rect_new(struct map *m, struct map_selection *sel)</div><div class="ttdoc">Creates a new map rect. </div><div class="ttdef"><b>Definition:</b> map.c:300</div></div>
<div class="ttc" id="map_8c_html_ac0160cd214565dad3584739d44fafed8"><div class="ttname"><a href="map_8c.html#ac0160cd214565dad3584739d44fafed8">map_selection_rect_new</a></div><div class="ttdeci">struct map_selection * map_selection_rect_new(struct pcoord *center, int distance, int order)</div><div class="ttdoc">Creates a new rectangular map selection. </div><div class="ttdef"><b>Definition:</b> map.c:499</div></div>
<div class="ttc" id="classNGQPoint_html_a9a4923671be87dc4e70ddfdd177c4421"><div class="ttname"><a href="classNGQPoint.html#a9a4923671be87dc4e70ddfdd177c4421">NGQPoint::setNewPoint</a></div><div class="ttdeci">void setNewPoint(QString coord, NGQPointTypes type=PointOfInterest)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:104</div></div>
<div class="ttc" id="ngqpoint_8h_html_ab85b18a34fce0dfc4f1c63142bc889a4a234881e88555315ba9bcbf51a8edb0c5"><div class="ttname"><a href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a234881e88555315ba9bcbf51a8edb0c5">Destination</a></div><div class="ttdef"><b>Definition:</b> ngqpoint.h:32</div></div>
<div class="ttc" id="classNGQPoint_html_a69e3470ebb1aab0122a6e56115a86677"><div class="ttname"><a href="classNGQPoint.html#a69e3470ebb1aab0122a6e56115a86677">NGQPoint::pointUrl</a></div><div class="ttdeci">QUrl pointUrl()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:139</div></div>
<div class="ttc" id="classNGQPoint_html_a514f30084f729c4d3ea8d8d3460f4b84"><div class="ttname"><a href="classNGQPoint.html#a514f30084f729c4d3ea8d8d3460f4b84">NGQPoint::_fieldValueHelper</a></div><div class="ttdeci">QDomElement _fieldValueHelper(QDomDocument doc, QString field, QString value)</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:255</div></div>
<div class="ttc" id="group__navit_html_ga21f43c12c3d663fe2d0875bcd53c1b1c"><div class="ttname"><a href="group__navit.html#ga21f43c12c3d663fe2d0875bcd53c1b1c">navit_get_trans</a></div><div class="ttdeci">struct transformation * navit_get_trans(struct navit *this_)</div><div class="ttdef"><b>Definition:</b> navit.c:3428</div></div>
<div class="ttc" id="structpoint_html"><div class="ttname"><a href="structpoint.html">point</a></div><div class="ttdef"><b>Definition:</b> point.h:23</div></div>
<div class="ttc" id="structmap__selection_html_a1983d9d4a5df17d7a8d70fc7a7f1d9bf"><div class="ttname"><a href="structmap__selection.html#a1983d9d4a5df17d7a8d70fc7a7f1d9bf">map_selection::order</a></div><div class="ttdeci">int order</div><div class="ttdef"><b>Definition:</b> map.h:63</div></div>
<div class="ttc" id="classNGQPoint_html_a526a5902d11d3a353251c9bced9333fe"><div class="ttname"><a href="classNGQPoint.html#a526a5902d11d3a353251c9bced9333fe">NGQPoint::g</a></div><div class="ttdeci">struct coord_geo g</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:368</div></div>
<div class="ttc" id="structattr_html_a2a2a2da11501e5c4b5464938c91b87e9"><div class="ttname"><a href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">attr::str</a></div><div class="ttdeci">char * str</div><div class="ttdef"><b>Definition:</b> attr.h:160</div></div>
<div class="ttc" id="structmap_html"><div class="ttname"><a href="structmap.html">map</a></div><div class="ttdoc">Holds information about a map. </div><div class="ttdef"><b>Definition:</b> map.c:60</div></div>
<div class="ttc" id="structattr_html_a0d3d1044686cbff653331809314976a5"><div class="ttname"><a href="structattr.html#a0d3d1044686cbff653331809314976a5">attr::num64</a></div><div class="ttdeci">long long * num64</div><div class="ttdef"><b>Definition:</b> attr.h:211</div></div>
<div class="ttc" id="ngqpoint_8h_html_ab85b18a34fce0dfc4f1c63142bc889a4aa4ee8b7b703a13592dc2bb0b06cdfa02"><div class="ttname"><a href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4aa4ee8b7b703a13592dc2bb0b06cdfa02">PointOfInterest</a></div><div class="ttdef"><b>Definition:</b> ngqpoint.h:32</div></div>
<div class="ttc" id="ngqpoint_8h_html_ab85b18a34fce0dfc4f1c63142bc889a4"><div class="ttname"><a href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4">NGQPointTypes</a></div><div class="ttdeci">NGQPointTypes</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:32</div></div>
<div class="ttc" id="ngqpoint_8h_html_ab85b18a34fce0dfc4f1c63142bc889a4a0ca2444163688098d8e674e31fb11397"><div class="ttname"><a href="ngqpoint_8h.html#ab85b18a34fce0dfc4f1c63142bc889a4a0ca2444163688098d8e674e31fb11397">Position</a></div><div class="ttdef"><b>Definition:</b> ngqpoint.h:32</div></div>
<div class="ttc" id="classNGQPoint_html_a99579024a17c575f8f1865364600306d"><div class="ttname"><a href="classNGQPoint.html#a99579024a17c575f8f1865364600306d">NGQPoint::type</a></div><div class="ttdeci">NGQPointTypes type</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:367</div></div>
<div class="ttc" id="structcoord__geo_html_a549223ef1f76a24ba2568a4b25a0f766"><div class="ttname"><a href="structcoord__geo.html#a549223ef1f76a24ba2568a4b25a0f766">coord_geo::lat</a></div><div class="ttdeci">navit_float lat</div><div class="ttdef"><b>Definition:</b> coord.h:99</div></div>
<div class="ttc" id="structbuffer_html"><div class="ttname"><a href="structbuffer.html">buffer</a></div><div class="ttdef"><b>Definition:</b> maptool.h:169</div></div>
<div class="ttc" id="group__coord_html_gadf3c940d83ba637872b823ecb4f92555"><div class="ttname"><a href="group__coord.html#gadf3c940d83ba637872b823ecb4f92555">coord_rect_contains</a></div><div class="ttdeci">int coord_rect_contains(struct coord_rect *r, struct coord *c)</div><div class="ttdef"><b>Definition:</b> coord.c:106</div></div>
<div class="ttc" id="structstreet__data_html_aae566cd82e377cec86f6c98672e1cf19"><div class="ttname"><a href="structstreet__data.html#aae566cd82e377cec86f6c98672e1cf19">street_data::count</a></div><div class="ttdeci">int count</div><div class="ttdef"><b>Definition:</b> route.h:68</div></div>
<div class="ttc" id="item_8c_html_a9d74082234bf94fe04bd8585c40c7f90"><div class="ttname"><a href="item_8c.html#a9d74082234bf94fe04bd8585c40c7f90">item_range_all</a></div><div class="ttdeci">struct item_range item_range_all</div><div class="ttdef"><b>Definition:</b> item.c:34</div></div>
<div class="ttc" id="classNGQPoint_html"><div class="ttname"><a href="classNGQPoint.html">NGQPoint</a></div><div class="ttdef"><b>Definition:</b> ngqpoint.h:34</div></div>
<div class="ttc" id="gui__gtk__action_8c_html_a904c31034abf6c115497f2af0dfc31bc"><div class="ttname"><a href="gui__gtk__action_8c.html#a904c31034abf6c115497f2af0dfc31bc">entries</a></div><div class="ttdeci">static GtkActionEntry entries[]</div><div class="ttdef"><b>Definition:</b> gui_gtk_action.c:194</div></div>
<div class="ttc" id="structcoord__rect_html_a0aa5ec921d6c01e81eea35f701962bd7"><div class="ttname"><a href="structcoord__rect.html#a0aa5ec921d6c01e81eea35f701962bd7">coord_rect::rl</a></div><div class="ttdeci">struct coord rl</div><div class="ttdef"><b>Definition:</b> coord.h:60</div></div>
<div class="ttc" id="garmin__img_8c_html_a6db8523928c426c16ad964797cd0098c"><div class="ttname"><a href="garmin__img_8c.html#a6db8523928c426c16ad964797cd0098c">label</a></div><div class="ttdeci">struct label_data_offset label</div><div class="ttdef"><b>Definition:</b> garmin_img.c:377</div></div>
<div class="ttc" id="transform_8c_html_a15d0284f89bb7b2d2cc240847aa942d3"><div class="ttname"><a href="transform_8c.html#a15d0284f89bb7b2d2cc240847aa942d3">transform_get_projection</a></div><div class="ttdeci">enum projection transform_get_projection(struct transformation *this_)</div><div class="ttdef"><b>Definition:</b> transform.c:692</div></div>
<div class="ttc" id="structcoord_html"><div class="ttname"><a href="structcoord.html">coord</a></div><div class="ttdef"><b>Definition:</b> coord.h:34</div></div>
<div class="ttc" id="map_8c_html_a95b6e2263b7e7aed66a4a5d8ce8028c8"><div class="ttname"><a href="map_8c.html#a95b6e2263b7e7aed66a4a5d8ce8028c8">map_selection_dup_pro</a></div><div class="ttdeci">struct map_selection * map_selection_dup_pro(struct map_selection *sel, enum projection from, enum projection to)</div><div class="ttdoc">Duplicates a map selection, transforming coordinates. </div><div class="ttdef"><b>Definition:</b> map.c:522</div></div>
<div class="ttc" id="classNGQPoint_html_a7da219a8c9d42aa3b9fa8629cb953872"><div class="ttname"><a href="classNGQPoint.html#a7da219a8c9d42aa3b9fa8629cb953872">NGQPoint::_coordString</a></div><div class="ttdeci">QString _coordString()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:261</div></div>
<div class="ttc" id="transform_8c_html_abf0560a954a531f44ab7e05715da80f3"><div class="ttname"><a href="transform_8c.html#abf0560a954a531f44ab7e05715da80f3">transform_distance</a></div><div class="ttdeci">double transform_distance(enum projection pro, struct coord *c1, struct coord *c2)</div><div class="ttdoc">Calculates the distance between two points. </div><div class="ttdef"><b>Definition:</b> transform.c:1023</div></div>
<div class="ttc" id="structpcoord_html"><div class="ttname"><a href="structpcoord.html">pcoord</a></div><div class="ttdef"><b>Definition:</b> coord.h:52</div></div>
<div class="ttc" id="classNGQPoint_html_a9aa728a9b1d4540fc63f03e27525900d"><div class="ttname"><a href="classNGQPoint.html#a9aa728a9b1d4540fc63f03e27525900d">NGQPoint::url</a></div><div class="ttdeci">QUrl url</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:377</div></div>
<div class="ttc" id="structcoord__geo_html"><div class="ttname"><a href="structcoord__geo.html">coord_geo</a></div><div class="ttdoc">A WGS84 coordinate. </div><div class="ttdef"><b>Definition:</b> coord.h:97</div></div>
<div class="ttc" id="structpoint_html_a9a82ca9504acabb1e30569f89c805471"><div class="ttname"><a href="structpoint.html#a9a82ca9504acabb1e30569f89c805471">point::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition:</b> point.h:25</div></div>
<div class="ttc" id="classNGQPoint_html_a04b9e2d80fd1a2a85eb40eae63795691"><div class="ttname"><a href="classNGQPoint.html#a04b9e2d80fd1a2a85eb40eae63795691">NGQPoint::coordString</a></div><div class="ttdeci">QString coordString()</div><div class="ttdef"><b>Definition:</b> ngqpoint.h:121</div></div>
<div class="ttc" id="street_8c_html_a62db20bbc91ea49e6f4b5392351a77eb"><div class="ttname"><a href="street_8c.html#a62db20bbc91ea49e6f4b5392351a77eb">street_get_data</a></div><div class="ttdeci">static void street_get_data(struct street_priv *street, unsigned char **p)</div><div class="ttdef"><b>Definition:</b> street.c:355</div></div>
<div class="ttc" id="structtransformation_html"><div class="ttname"><a href="structtransformation.html">transformation</a></div><div class="ttdoc">The parameters needed to transform a map for display. </div><div class="ttdef"><b>Definition:</b> transform.c:64</div></div>
<div class="ttc" id="transform_8c_html_a5a40f38ebfbe5adacd7450e6bace9a29"><div class="ttname"><a href="transform_8c.html#a5a40f38ebfbe5adacd7450e6bace9a29">transform_reverse</a></div><div class="ttdeci">int transform_reverse(struct transformation *t, struct point *p, struct coord *c)</div><div class="ttdef"><b>Definition:</b> transform.c:672</div></div>
<div class="ttc" id="attr_8c_html_ae13d70b1ff7bbf7abf2586f15590f253"><div class="ttname"><a href="attr_8c.html#ae13d70b1ff7bbf7abf2586f15590f253">attr_to_name</a></div><div class="ttdeci">char * attr_to_name(enum attr_type attr)</div><div class="ttdoc">Converts an attr_type to a string. </div><div class="ttdef"><b>Definition:</b> attr.c:117</div></div>
<div class="ttc" id="transform_8c_html_a25bc1227373c93717d0350e1fe0130dd"><div class="ttname"><a href="transform_8c.html#a25bc1227373c93717d0350e1fe0130dd">transform_to_geo</a></div><div class="ttdeci">void transform_to_geo(enum projection pro, const struct coord *c, struct coord_geo *g)</div><div class="ttdoc">Transform the coordinates of a geographical point from a coord representation to a geographical (lat...</div><div class="ttdef"><b>Definition:</b> transform.c:273</div></div>
<div class="ttc" id="transform_8c_html_a429351cbffb0701a9ffb7afae6c0ad6e"><div class="ttname"><a href="transform_8c.html#a429351cbffb0701a9ffb7afae6c0ad6e">transform_from_geo</a></div><div class="ttdeci">void transform_from_geo(enum projection pro, const struct coord_geo *g, struct coord *c)</div><div class="ttdoc">Transform the coordinates of a geographical point from a geographical (lat, long) representation to a...</div><div class="ttdef"><b>Definition:</b> transform.c:309</div></div>
<div class="ttc" id="structitem_html_a193c3e2ec0076325a4f3139f9d33e06e"><div class="ttname"><a href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a></div><div class="ttdeci">int id_hi</div><div class="ttdef"><b>Definition:</b> item.h:101</div></div>
<div class="ttc" id="structcoord_html_ac3e93ff628aa19d2888c5f6fa26f430d"><div class="ttname"><a href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">coord::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition:</b> coord.h:35</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_11bc0974ce736ce9a6fadebbeb7a8314.html">gui</a></li><li class="navelem"><a class="el" href="dir_8022f260cb33bb0f12ace4cf11c510e1.html">qml</a></li><li class="navelem"><a class="el" href="ngqpoint_8h.html">ngqpoint.h</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
|