refs #328 add CAircraftParts to CAircraft

Conflicts:
	src/blackmisc/avaircraft.h
This commit is contained in:
Roland Winklmeier
2014-12-26 00:27:20 +01:00
committed by Klaus Basan
parent 0a46a4a0bd
commit ccec06fc80
2 changed files with 27 additions and 2 deletions

View File

@@ -161,6 +161,8 @@ namespace BlackMisc
return this->m_situation.propertyByIndex(index.copyFrontRemoved());
case IndexIcao:
return this->m_icao.propertyByIndex(index.copyFrontRemoved());
case IndexParts:
return this->m_parts.propertyByIndex(index.copyFrontRemoved());
default:
return (ICoordinateGeodetic::canHandleIndex(index)) ?
ICoordinateGeodetic::propertyByIndex(index) :
@@ -202,6 +204,9 @@ namespace BlackMisc
case IndexSituation:
this->m_situation.setPropertyByIndex(variant, index.copyFrontRemoved());
break;
case IndexParts:
this->m_parts.setPropertyByIndex(variant, index.copyFrontRemoved());
break;
default:
CValueObject::setPropertyByIndex(variant, index);
break;