23#include <QGeoCoordinate>
25#include "traffic/TrafficFactor_Abstract.h"
102 if (m_coordinate == newCoordinate) {
106 m_coordinate = newCoordinate;
121 void updateValid()
override;
126 QGeoCoordinate m_coordinate;
Abstract base class for traffic factors.
void copyFrom(const TrafficFactor_Abstract &other)
Copy data from other object.
auto coordinate() const -> QGeoCoordinate
Getter method for property with the same name.
void coordinateChanged()
Notifier signal.
TrafficFactor_DistanceOnly(QObject *parent=nullptr)
Default constructor.
void copyFrom(const TrafficFactor_DistanceOnly &other)
Copy data from other object.
void setCoordinate(const QGeoCoordinate &newCoordinate)
Setter function for property with the same name.
QGeoCoordinate coordinate
Center coordinate.