WimaCorridorData.h 803 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
1 2 3 4 5
#pragma once

#include <QObject>

#include "WimaAreaData.h"
6 7
#include "WimaCorridor.h"

Valentin Platzgummer's avatar
Valentin Platzgummer committed
8 9 10 11 12 13 14
#include "QGeoCoordinate"

class WimaCorridorData : public WimaAreaData
{
    Q_OBJECT

public:
15 16 17 18 19 20
    WimaCorridorData(QObject *parent = nullptr);
    WimaCorridorData(const WimaCorridorData &other, QObject *parent = nullptr);
    WimaCorridorData(const WimaCorridor &other, QObject *parent = nullptr);
    WimaCorridorData &operator=(const WimaCorridorData &other);
    WimaCorridorData &operator=(const WimaCorridor &other);

21
    QString type() const;
22
    WimaCorridorData *Clone() const {return new WimaCorridorData(*this);}
23

24 25
    static const char* typeString;

Valentin Platzgummer's avatar
Valentin Platzgummer committed
26 27 28 29 30

signals:

public slots:

31 32 33 34
protected:
    void assign(const WimaCorridorData &corridorData);
    void assign(const WimaCorridor &corridor);

Valentin Platzgummer's avatar
Valentin Platzgummer committed
35 36 37
private:
};