projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'changes/UI'
[speedfreak]
/
Client
/
measures.cpp
diff --git
a/Client/measures.cpp
b/Client/measures.cpp
index
c840ec0
..
5439826
100644
(file)
--- a/
Client/measures.cpp
+++ b/
Client/measures.cpp
@@
-1,9
+1,21
@@
+/*
+ * CarMainWindow main class
+ *
+ * @author Janne Änäkkälä <janne.anakkala@fudeco.com>
+ * @copyright (c) 2010 Speed Freak team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
#include "measures.h"
Measures::Measures()
{
}
#include "measures.h"
Measures::Measures()
{
}
+/**
+ * Get the value of time10kmh
+ * @return time10kmh the time in qreal when speed has been 10 km/h
+ */
qreal Measures::getTime10kmh()
{
return time10kmh;
qreal Measures::getTime10kmh()
{
return time10kmh;
@@
-54,6
+66,10
@@
qreal Measures::getTime100kmh()
return time100kmh;
}
return time100kmh;
}
+/**
+ * Set the given time in to the time10kmh
+ * @param pTime is time in qreal
+ */
void Measures::setTime10kmh(qreal pTime)
{
time10kmh = pTime;
void Measures::setTime10kmh(qreal pTime)
{
time10kmh = pTime;