Migrates remaining services and plugins to generated rtiddsgen API
Converts accessor calls to plain member access across the residual service set.
This commit is contained in:
104 files changed
+2424
-2430
No files matched your search
+6
-6
@@ -96,8 +96,8 @@ void PdmTests::tryGetAllVulnerabilityKinds()
|
||||
m_id = map.firstKey();
|
||||
for(auto it = map.begin(); it != map.end(); ++it)
|
||||
{
|
||||
const ProjectDataManagement::VulnerabilityClass &vc = it.value().vulnerabilityClassId();
|
||||
INFO_LOG(m_logger) << "VulnerabilityKind(" << it.key() << ") : " << it.value().name()
|
||||
const ProjectDataManagement::VulnerabilityClass &vc = it.value().vulnerabilityClassId;
|
||||
INFO_LOG(m_logger) << "VulnerabilityKind(" << it.key() << ") : " << it.value().name
|
||||
<< ", translation " << m_dtc->trVulnerabilityKindName(it.key(), vc);
|
||||
}
|
||||
}
|
||||
@@ -111,15 +111,15 @@ void PdmTests::tryGetVulnerabilityKind()
|
||||
INFO_LOG(m_logger) << "trying get itemData for Vulnerability kind " << m_id;
|
||||
ProjectDataManagement::VulnerabilityKind data = m_dtc->vulnerabilityKind(m_id);
|
||||
|
||||
if (data.taVulnerabilityKind() <= 0)
|
||||
if (data.taVulnerabilityKind <= 0)
|
||||
{
|
||||
ERROR_LOG(m_logger) << "Error receiving data for id " << m_id;
|
||||
failExit();
|
||||
}
|
||||
else
|
||||
{
|
||||
const ProjectDataManagement::VulnerabilityClass &vc = data.vulnerabilityClassId();
|
||||
INFO_LOG(m_logger) << "## VulnerabilityKind: (" << data.taVulnerabilityKind() << "), name: " << data.name()
|
||||
const ProjectDataManagement::VulnerabilityClass &vc = data.vulnerabilityClassId;
|
||||
INFO_LOG(m_logger) << "## VulnerabilityKind: (" << data.taVulnerabilityKind << "), name: " << data.name
|
||||
<< ", translation " << m_dtc->trVulnerabilityKindName(m_id, vc);
|
||||
QTimer::singleShot(0, qApp, &QCoreApplication::quit);
|
||||
}
|
||||
@@ -141,7 +141,7 @@ void PdmTests::tryGetAllBiteComponentTexts()
|
||||
INFO_LOG(m_logger) << "Amount of bite component texts = " << map.size();
|
||||
m_id = map.firstKey();
|
||||
for(auto it = map.begin(); it != map.end(); ++it)
|
||||
INFO_LOG(m_logger) << "BiteComponent(" << it.key() << ") : " << it.value().name()
|
||||
INFO_LOG(m_logger) << "BiteComponent(" << it.key() << ") : " << it.value().name
|
||||
<< ", translation " << m_dtc->trBiteComponentTextName(it.key());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user