WimaFlyArea.cc 498 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#include "WimaFlyArea.h"

WimaFlyArea::WimaFlyArea(QObject *parent) : QObject(parent)
{
    this->_isReady = false;
}

WimaFlyArea::WimaFlyArea(const WimaFlyArea &other, QObject *parent): QObject(parent)
{
    *this = other;
}

const WimaFlyArea& WimaFlyArea::operator=(const WimaFlyArea& other)
{
    this->_flyAreaPolygon = other._flyAreaPolygon;
    this->_isReady = other._isReady;

    return *this;
}

void WimaFlyArea::setReady()
{
    this->_isReady = true;
    emit readyStateChanged();
}