Newer
Older
#include "WimaDataContainer.h"
WimaDataContainer::WimaDataContainer(QObject *parent)
Valentin Platzgummer
committed
, _joinedArea (nullptr)
, _opArea (nullptr)
, _serArea (nullptr)
, _corridor (nullptr)
Valentin Platzgummer
committed
void WimaDataContainer::setJoinedArea(const WimaArea *joinedArea)
Valentin Platzgummer
committed
if (_joinedArea != joinedArea) {
_joinedArea = joinedArea;
emit joinedAreaChanged(_joinedArea);
}
}
Valentin Platzgummer
committed
void WimaDataContainer::setOpArea(const WimaGOperationArea *opArea)
Valentin Platzgummer
committed
if (_opArea != opArea) {
_opArea = opArea;
emit opAreaChanged(_opArea);
}
}
Valentin Platzgummer
committed
void WimaDataContainer::setSerArea(const WimaServiceArea *serArea)
Valentin Platzgummer
committed
if (_serArea != serArea) {
_serArea = serArea;
emit serAreaChanged(_serArea);
}
}
Valentin Platzgummer
committed
void WimaDataContainer::setCorridor(const WimaVCorridor *corridor)
Valentin Platzgummer
committed
if (_corridor != corridor) {
_corridor = corridor;
emit corridorChanged(_corridor);
}
}