WimaCorridorData.h 729 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 22
    QString type() const;

23 24
    static const char* typeString;

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

signals:

public slots:

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

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