23#include "positioning/PositionInfo.h"
24#include "traffic/TrafficFactor_Abstract.h"
87 [[nodiscard]]
auto icon() const -> QString
87 [[nodiscard]]
auto icon() const -> QString {
…}
101 return m_positionInfo;
123 void updateDescription()
override;
133 void updateValid()
override;
TrafficFactor_Abstract(QObject *parent=nullptr)
Default constructor.
void copyFrom(const TrafficFactor_Abstract &other)
Copy data from other object.
auto icon() const -> QString
Getter method for property with the same name.
void iconChanged()
Notifier signal.
void positionInfoChanged()
Notifier signal.
QString icon
Suggested icon.
Positioning::PositionInfo positionInfo
PositionInfo of the traffic.
void setPositionInfo(const Positioning::PositionInfo &newPositionInfo)
Setter function for property with the same name.
auto positionInfo() const -> Positioning::PositionInfo
Getter method for property with the same name.
TrafficFactor_WithPosition(QObject *parent=nullptr)
Default constructor.
void copyFrom(const TrafficFactor_WithPosition &other)
Copy data from other object.
Convenience class for distance computations.