Ref T385, added propertyBy functions for airport ICAO + style

This commit is contained in:
Klaus Basan
2018-10-07 15:00:47 +02:00
parent 1280359fe1
commit abe363494b
5 changed files with 30 additions and 11 deletions

View File

@@ -218,7 +218,7 @@ namespace BlackMisc
return newRealName;
}
CVariant CUser::propertyByIndex(const BlackMisc::CPropertyIndex &index) const
CVariant CUser::propertyByIndex(const CPropertyIndex &index) const
{
if (index.isMyself()) { return CVariant::from(*this); }
const ColumnIndex i = index.frontCasted<ColumnIndex>();

View File

@@ -155,7 +155,7 @@ namespace BlackMisc
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
void setPropertyByIndex(const CPropertyIndex &index, const CVariant &variant);
//! Compare by index
//! \copydoc BlackMisc::Mixin::Index::comparePropertyByIndex
int comparePropertyByIndex(const CPropertyIndex &index, const CUser &compareValue) const;
//! This and another user exchange missing data, This user has priority and overrides first.