Adds immediate migration results

This commit is contained in:
torsten committed 2026-08-18 22:12:24 +02:00
1 parent ba4121728b
commit 6a2a0667ab
2395 files changed
+357322 -2524

No files matched your search

@@ -2,6 +2,7 @@
#include "pdm_handler.h"
#include <utility>
#include "main_handler.h"
#include <ProjectDataManagement/pdm_dtc.h>
@@ -106,7 +107,7 @@ ProjectDataManagement::GearClass PdmHandler::gearClassFromChargeTypeId(int charg
initializePdm();
for (const auto &gearType2ChargeType : qAsConst(m_gearTypeChargeTypes))
for (const auto &gearType2ChargeType : std::as_const(m_gearTypeChargeTypes))
{
if (gearType2ChargeType.chargeTypeId() == chargeTypeId)
{
@@ -133,7 +134,7 @@ ProjectDataManagement::BuildingChargeEffect PdmHandler::buildingChargeEffect(int
initializePdm();
for (const auto &bce : qAsConst(m_buildingChargeEffects))
for (const auto &bce : std::as_const(m_buildingChargeEffects))
{
if (bce.chargeTypeId() == chargeTypeId)
return bce;
@@ -215,7 +216,7 @@ int PdmHandler::chargeTypeIdFromGearAndChargeTasCode(int gearTasCode, int charge
if (gearTasCode > 0 && (gearTasCode & s_unknownMarker) == 0)
{
for (const auto &gearType2ChargeType : qAsConst(m_gearTypeChargeTypes))
for (const auto &gearType2ChargeType : std::as_const(m_gearTypeChargeTypes))
{
if (gearType2ChargeType.gearTypeId() == gearTasCode)
{
@@ -245,7 +246,7 @@ int PdmHandler::gearTypeIdFromTasGearTasCode(int gearTasCode)
initializePdm();
for (const auto &gearType : qAsConst(m_gearTypes))
for (const auto &gearType : std::as_const(m_gearTypes))
{
if (gearType.tasCode() == gearTasCode)
return gearType.id();