2016-06-16 20:33:56 +02:00
|
|
|
#include "trackpoint.h"
|
|
|
|
|
|
|
|
QDebug operator<<(QDebug dbg, const Trackpoint &trackpoint)
|
|
|
|
{
|
2017-08-14 11:16:48 +02:00
|
|
|
const bool ais = dbg.autoInsertSpaces();
|
2016-07-28 00:23:22 +02:00
|
|
|
dbg.nospace() << "Trackpoint(" << trackpoint.coordinates() << ", "
|
|
|
|
<< trackpoint.timestamp() << ", " << trackpoint.elevation() << ", "
|
2016-10-27 00:20:00 +02:00
|
|
|
<< trackpoint.speed() << ", " << trackpoint.heartRate() << ", "
|
|
|
|
<< trackpoint.temperature() << ")";
|
2017-08-14 11:16:48 +02:00
|
|
|
dbg.setAutoInsertSpaces(ais);
|
2016-06-16 20:33:56 +02:00
|
|
|
return dbg.maybeSpace();
|
|
|
|
}
|