Removes .IDL warnings: multiple enum definitons and builtin-type collisions
This commit is contained in:
135 files changed
+1122
-1122
No files matched your search
+3
-3
@@ -79,7 +79,7 @@ void DetailData::addEventType(int eventTypeId, const QString &eventTypeString)
|
||||
}
|
||||
|
||||
|
||||
void DetailData::addEventType(const ProjectDataManagement::EventType &eventType)
|
||||
void DetailData::addEventType(const ProjectDataManagement::PdmEventType &eventType)
|
||||
{
|
||||
addEventType(eventType.underlying(), ProjectDataManagement::toString(eventType));
|
||||
}
|
||||
@@ -195,7 +195,7 @@ void DetailData::populate()
|
||||
case EventType::DangerArea:
|
||||
case EventType::FunctionalArea:
|
||||
case EventType::MineCorridor:
|
||||
case ProjectDataManagement::EventType::GasPipe:
|
||||
case ProjectDataManagement::PdmEventType::GasPipe:
|
||||
attributeEventLookup.addAttributesToEvent(eventType, {QStringLiteral("AesName"),
|
||||
QStringLiteral("duration")});
|
||||
break;
|
||||
@@ -642,7 +642,7 @@ void DetailData::AttributeEventLookup::addAttributesToEvent(const int eventType,
|
||||
al += attributeTypeList;
|
||||
}
|
||||
|
||||
void DetailData::AttributeEventLookup::addAttributesToEvent(const ProjectDataManagement::EventType &eventType, const AttributeList &attributeTypeList)
|
||||
void DetailData::AttributeEventLookup::addAttributesToEvent(const ProjectDataManagement::PdmEventType &eventType, const AttributeList &attributeTypeList)
|
||||
{
|
||||
addAttributesToEvent(eventType.underlying(), attributeTypeList);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user