mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #356 Update base class name in derived class method implementations.
This commit is contained in:
@@ -190,7 +190,7 @@ namespace BlackMisc
|
||||
default:
|
||||
return (ICoordinateGeodetic::canHandleIndex(index)) ?
|
||||
ICoordinateGeodetic::propertyByIndex(index) :
|
||||
CValueObject::propertyByIndex(index);
|
||||
CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,7 +232,7 @@ namespace BlackMisc
|
||||
this->m_parts.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace BlackMisc
|
||||
case IndexIsVtol:
|
||||
return CVariant::fromValue(this->isVtol());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace BlackMisc
|
||||
this->setAircraftColor(variant.value<QString>());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace BlackMisc
|
||||
case IndexCallsign:
|
||||
return this->m_correspondingCallsign.propertyByIndex(index.copyFrontRemoved());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace BlackMisc
|
||||
this->m_correspondingCallsign.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace BlackMisc
|
||||
default:
|
||||
return (ICoordinateGeodetic::canHandleIndex(index)) ?
|
||||
ICoordinateGeodetic::propertyByIndex(index) :
|
||||
CValueObject::propertyByIndex(index);
|
||||
CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace BlackMisc
|
||||
this->m_distanceToOwnAircraft.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -306,7 +306,7 @@ namespace BlackMisc
|
||||
return this->m_voiceRoom.propertyByIndex(index.copyFrontRemoved());
|
||||
default:
|
||||
if (ICoordinateGeodetic::canHandleIndex(index)) { return ICoordinateGeodetic::propertyByIndex(index); }
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -356,7 +356,7 @@ namespace BlackMisc
|
||||
this->m_voiceRoom.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace BlackMisc
|
||||
case IndexSuffix:
|
||||
return CVariant(this->getSuffix());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ namespace BlackMisc
|
||||
this->m_telephonyDesignator = variant.toQString();
|
||||
break;
|
||||
default:
|
||||
return CValueObject::setPropertyByIndex(variant, index);
|
||||
return CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace BlackMisc
|
||||
case IndexTaxi:
|
||||
return CVariant::from(m_taxiOn);
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace BlackMisc
|
||||
this->m_taxiOn = variant.toBool();
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace BlackMisc
|
||||
case IndexSpoilersOut:
|
||||
return CVariant::fromValue(this->m_spoilersOut);
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace BlackMisc
|
||||
this->m_correspondingCallsign.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace BlackMisc
|
||||
case IndexOutputVolume:
|
||||
return CVariant::from(this->getVolumeOutput());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple<CModulator<AVIO>, CAvionicsBase>::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace BlackMisc
|
||||
this->setVolumeOutput(variant.toInt());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple<CModulator<AVIO>, CAvionicsBase>::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace BlackMisc
|
||||
}
|
||||
else
|
||||
{
|
||||
return CValueObject::propertyByIndex(index.copyFrontRemoved());
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace BlackMisc
|
||||
this->m_geodeticHeight.parseFromString(variant.toQString());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace BlackMisc
|
||||
case IndexPixmap:
|
||||
return CVariant(this->m_icon.toPixmap());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace BlackMisc
|
||||
}
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace BlackMisc
|
||||
case IndexSource:
|
||||
return QVariant::fromValue(this->m_source);
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace BlackMisc
|
||||
this->m_source = variant.toQString();
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace BlackMisc
|
||||
case IndexVoiceCapabilitiesString:
|
||||
return CVariant(this->m_voiceCapabilities.toQString(true));
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ namespace BlackMisc
|
||||
this->m_voiceCapabilities.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ namespace BlackMisc
|
||||
case IndexMessage:
|
||||
return CVariant::fromValue(this->m_message);
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace BlackMisc
|
||||
this->m_message = variant.value<QString>();
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace BlackMisc
|
||||
case IndexCallsign:
|
||||
return this->m_callsign.propertyByIndex(index.copyFrontRemoved());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ namespace BlackMisc
|
||||
this->m_callsign.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -311,7 +311,7 @@ namespace BlackMisc
|
||||
case IndexValueRounded6DigitsWithUnit:
|
||||
return CVariant::from(this->valueRoundedWithUnit(6));
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple<CPhysicalQuantity<MU, PQ>>::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -342,7 +342,7 @@ namespace BlackMisc
|
||||
this->parseFromString(variant.toQString());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple<CPhysicalQuantity<MU, PQ>>::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace BlackMisc
|
||||
case IndexKeyAsStringRepresentation:
|
||||
return CVariant::from(m_key.getKeyAsStringRepresentation());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ namespace BlackMisc
|
||||
this->setObject(variant.value<BlackMisc::Settings::CSettingKeyboardHotkey>());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace BlackMisc
|
||||
case IndexCallsign:
|
||||
return m_callsign.propertyByIndex(index.copyFrontRemoved());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace BlackMisc
|
||||
this->m_modelType = variant.toInt();
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ namespace BlackMisc
|
||||
case IndexCategoryHumanReadable:
|
||||
return CVariant::from(this->getHumanReadableCategory());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@ namespace BlackMisc
|
||||
this->m_categories = variant.value<CLogCategoryList>();
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace BlackMisc
|
||||
case IndexUrl:
|
||||
return CVariant::from(this->getVoiceRoomUrl());
|
||||
default:
|
||||
return CValueObject::propertyByIndex(index);
|
||||
return CValueObjectStdTuple::propertyByIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace BlackMisc
|
||||
this->setVoiceRoomUrl(variant.value<QString>());
|
||||
break;
|
||||
default:
|
||||
CValueObject::setPropertyByIndex(variant, index);
|
||||
CValueObjectStdTuple::setPropertyByIndex(variant, index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user