Newer
Older
Valentin Platzgummer
committed
#include "QGeoCoordinate"
Valentin Platzgummer
committed
#include "WimaServiceArea.h"
class WimaServiceAreaData : public WimaAreaData
{
Q_OBJECT
public:
Valentin Platzgummer
committed
WimaServiceAreaData(QObject *parent = nullptr);
WimaServiceAreaData(const WimaServiceAreaData &other, QObject *parent = nullptr);
WimaServiceAreaData(const WimaServiceArea &other, QObject *parent = nullptr);
WimaServiceAreaData& operator=(const WimaServiceAreaData &otherData);
WimaServiceAreaData& operator=(const WimaServiceArea &otherArea);
Valentin Platzgummer
committed
const QGeoCoordinate &landPosition() const;
Valentin Platzgummer
committed
static const char* typeString;
signals:
void takeOffPositionChanged(const QGeoCoordinate& other);
Valentin Platzgummer
committed
void landPositionChanged(const QGeoCoordinate& other);
public slots:
void setTakeOffPosition(const QGeoCoordinate& newCoordinate);
Valentin Platzgummer
committed
void setLandPosition(const QGeoCoordinate& newCoordinate);
protected:
void assign(const WimaServiceAreaData &other);
void assign(const WimaServiceArea &other);