summaryrefslogtreecommitdiff
path: root/qml__vehicle_8h_source.html
blob: b4e57d3200469596a9adc609a91f4c4c184e61d9 (plain)
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
<!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/qt5_qml/qml_vehicle.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
   &#160;<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('qml__vehicle_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">qml_vehicle.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="qml__vehicle_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>&#160;<span class="preprocessor">#ifndef VEHICLEOBJECT_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define VEHICLEOBJECT_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="item_8h.html">item.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vehicle_8h.html">vehicle.h</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classVehicleObject.html">    8</a></span>&#160;<span class="keyword">class </span><a class="code" href="classVehicleObject.html">VehicleObject</a> : <span class="keyword">public</span> QObject</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classVehicleObject.html#a8f6f4e1e3c66638720337190131e3786">   12</a></span>&#160;    Q_PROPERTY(QString <a class="code" href="classVehicleObject.html#aa04d9a4d46a7187f97dd62934f52a1ce">name</a> READ <a class="code" href="classVehicleObject.html#aa04d9a4d46a7187f97dd62934f52a1ce">name</a> WRITE <a class="code" href="classVehicleObject.html#ac269215b45d45698dd5c5b61f93af8f2">setName</a> NOTIFY <a class="code" href="classVehicleObject.html#afbd3a1c453278e7faa24b22f7c93ca64">nameChanged</a>)</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classVehicleObject.html#a83011dfc9da7ebddfba1953fabf9e79a">   13</a></span>&#160;    Q_PROPERTY(<span class="keywordtype">bool</span> <a class="code" href="classVehicleObject.html#a1893630cac0324083fba8c59e2843546">active</a> READ <a class="code" href="classVehicleObject.html#a1893630cac0324083fba8c59e2843546">active</a> WRITE <a class="code" href="classVehicleObject.html#a5fac8fd8519e7ff144c0ba10a0563efa">setActive</a> NOTIFY <a class="code" href="classVehicleObject.html#acd961866c99a279b7bb01e2f7445fe12">activeChanged</a>)</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <span class="comment">//Q_PROPERTY(struct vehicle * vehicle READ vehicle WRITE setVehicle NOTIFY vehicleChanged)</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;public:</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <a class="code" href="classVehicleObject.html">VehicleObject</a>(QObject *<a class="code" href="structparent.html">parent</a>=0);</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <a class="code" href="classVehicleObject.html">VehicleObject</a>(const QString &amp;<a class="code" href="classVehicleObject.html#aa04d9a4d46a7187f97dd62934f52a1ce">name</a>, const <span class="keywordtype">bool</span> &amp;<a class="code" href="classVehicleObject.html#a1893630cac0324083fba8c59e2843546">active</a>, struct <a class="code" href="structvehicle.html">vehicle</a> *v, QObject *parent=0);</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    QString name() const;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classVehicleObject.html#ac269215b45d45698dd5c5b61f93af8f2">setName</a>(const QString &amp;name);</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keywordtype">bool</span> active() const;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classVehicleObject.html#a5fac8fd8519e7ff144c0ba10a0563efa">setActive</a>(const <span class="keywordtype">bool</span> &amp;active);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    struct <a class="code" href="structvehicle.html">vehicle</a> * <a class="code" href="structvehicle.html">vehicle</a>() const;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classVehicleObject.html#a8ae628c4b4b09d015f7b2450033ee59e">setVehicle</a>(struct <a class="code" href="structvehicle.html">vehicle</a> * <a class="code" href="structvehicle.html">vehicle</a>);</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;signals:</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keywordtype">void</span> nameChanged();</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classVehicleObject.html#acd961866c99a279b7bb01e2f7445fe12">activeChanged</a>();</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classVehicleObject.html#a7e7e626e89617c376699c3ec8fba589d">vehicleChanged</a>();</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;private:</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classVehicleObject.html#a1204131cabbc03e88204e711e827c227">   35</a></span>&#160;    QString <a class="code" href="classVehicleObject.html#a1204131cabbc03e88204e711e827c227">m_name</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classVehicleObject.html#a91a69d213b28b21995a30002b1914801">   36</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classVehicleObject.html#a91a69d213b28b21995a30002b1914801">m_active</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classVehicleObject.html#a045bc43a150a4f77b36eb3b088b9e3a9">   37</a></span>&#160;    struct vehicle *<a class="code" href="classVehicleObject.html#a045bc43a150a4f77b36eb3b088b9e3a9">m_vehicle</a>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;};</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#endif // MAPOBJECT_H</span></div><div class="ttc" id="classVehicleObject_html"><div class="ttname"><a href="classVehicleObject.html">VehicleObject</a></div><div class="ttdef"><b>Definition:</b> qml_vehicle.h:8</div></div>
<div class="ttc" id="vehicle_8h_html"><div class="ttname"><a href="vehicle_8h.html">vehicle.h</a></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="classVehicleObject_html_a1204131cabbc03e88204e711e827c227"><div class="ttname"><a href="classVehicleObject.html#a1204131cabbc03e88204e711e827c227">VehicleObject::m_name</a></div><div class="ttdeci">QString m_name</div><div class="ttdef"><b>Definition:</b> qml_vehicle.h:35</div></div>
<div class="ttc" id="classVehicleObject_html_a045bc43a150a4f77b36eb3b088b9e3a9"><div class="ttname"><a href="classVehicleObject.html#a045bc43a150a4f77b36eb3b088b9e3a9">VehicleObject::m_vehicle</a></div><div class="ttdeci">struct vehicle * m_vehicle</div><div class="ttdef"><b>Definition:</b> qml_vehicle.h:37</div></div>
<div class="ttc" id="structvehicle_html"><div class="ttname"><a href="structvehicle.html">vehicle</a></div><div class="ttdef"><b>Definition:</b> vehicle.c:59</div></div>
<div class="ttc" id="classVehicleObject_html_a7e7e626e89617c376699c3ec8fba589d"><div class="ttname"><a href="classVehicleObject.html#a7e7e626e89617c376699c3ec8fba589d">VehicleObject::vehicleChanged</a></div><div class="ttdeci">void vehicleChanged()</div></div>
<div class="ttc" id="classVehicleObject_html_aa04d9a4d46a7187f97dd62934f52a1ce"><div class="ttname"><a href="classVehicleObject.html#aa04d9a4d46a7187f97dd62934f52a1ce">VehicleObject::name</a></div><div class="ttdeci">QString name() const</div></div>
<div class="ttc" id="classVehicleObject_html_acd961866c99a279b7bb01e2f7445fe12"><div class="ttname"><a href="classVehicleObject.html#acd961866c99a279b7bb01e2f7445fe12">VehicleObject::activeChanged</a></div><div class="ttdeci">void activeChanged()</div></div>
<div class="ttc" id="classVehicleObject_html_afbd3a1c453278e7faa24b22f7c93ca64"><div class="ttname"><a href="classVehicleObject.html#afbd3a1c453278e7faa24b22f7c93ca64">VehicleObject::nameChanged</a></div><div class="ttdeci">void nameChanged()</div></div>
<div class="ttc" id="item_8h_html"><div class="ttname"><a href="item_8h.html">item.h</a></div></div>
<div class="ttc" id="classVehicleObject_html_a91a69d213b28b21995a30002b1914801"><div class="ttname"><a href="classVehicleObject.html#a91a69d213b28b21995a30002b1914801">VehicleObject::m_active</a></div><div class="ttdeci">bool m_active</div><div class="ttdef"><b>Definition:</b> qml_vehicle.h:36</div></div>
<div class="ttc" id="classVehicleObject_html_a1893630cac0324083fba8c59e2843546"><div class="ttname"><a href="classVehicleObject.html#a1893630cac0324083fba8c59e2843546">VehicleObject::active</a></div><div class="ttdeci">bool active() const</div></div>
<div class="ttc" id="classVehicleObject_html_a5fac8fd8519e7ff144c0ba10a0563efa"><div class="ttname"><a href="classVehicleObject.html#a5fac8fd8519e7ff144c0ba10a0563efa">VehicleObject::setActive</a></div><div class="ttdeci">void setActive(const bool &amp;active)</div><div class="ttdef"><b>Definition:</b> qml_vehicle.cpp:26</div></div>
<div class="ttc" id="classVehicleObject_html_ac269215b45d45698dd5c5b61f93af8f2"><div class="ttname"><a href="classVehicleObject.html#ac269215b45d45698dd5c5b61f93af8f2">VehicleObject::setName</a></div><div class="ttdeci">void setName(const QString &amp;name)</div><div class="ttdef"><b>Definition:</b> qml_vehicle.cpp:15</div></div>
<div class="ttc" id="classVehicleObject_html_a8ae628c4b4b09d015f7b2450033ee59e"><div class="ttname"><a href="classVehicleObject.html#a8ae628c4b4b09d015f7b2450033ee59e">VehicleObject::setVehicle</a></div><div class="ttdeci">void setVehicle(struct vehicle *vehicle)</div><div class="ttdef"><b>Definition:</b> qml_vehicle.cpp:37</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_399a916a4057be65784a57a4334cd12d.html">qt5_qml</a></li><li class="navelem"><a class="el" href="qml__vehicle_8h.html">qml_vehicle.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>