refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable.

This commit is contained in:
Mathew Sutcliffe
2015-06-05 12:57:40 +01:00
parent a4ca75c5c7
commit d4d862927e
90 changed files with 503 additions and 500 deletions

View File

@@ -324,7 +324,7 @@ namespace BlackGui
{
if (!this->getIContextOwnAircraft()) return;
if (!this->ui->frp_SelcalCode->hasValidCode()) return;
this->getIContextOwnAircraft()->updateSelcal(this->ui->frp_SelcalCode->getSelcal(), flightPlanOriginator());
this->getIContextOwnAircraft()->updateSelcal(this->ui->frp_SelcalCode->getSelcal(), flightPlanIdentifier());
}
void CFlightPlanComponent::ps_loadFlightPlanFromNetwork()
@@ -417,12 +417,12 @@ namespace BlackGui
this->setCurrentWidget(this->ui->tb_RemarksGenerator);
}
COriginator CFlightPlanComponent::flightPlanOriginator()
CIdentifier CFlightPlanComponent::flightPlanIdentifier()
{
if (m_originator.getName().isEmpty())
m_originator = COriginator(QStringLiteral("FLIGHTPLANCOMPONENT"));
if (m_identifier.getName().isEmpty())
m_identifier = CIdentifier(QStringLiteral("FLIGHTPLANCOMPONENT"));
return m_originator;
return m_identifier;
}
} // namespace