![]() |
QElectroTech 0.200.1-dev
|
MasterElement::contactUsage Count the slave contacts currently linked to this master, by type. This is the single place where that count is worked out: the cross ref item, the properties dialog and the link widgets all read it from here, so they cannot disagree with each other. More...
Functions | |
| ContactUsage::Type | contactType (ElementData::SlaveState state) |
MasterElement::contactUsage Count the slave contacts currently linked to this master, by type. This is the single place where that count is worked out: the cross ref item, the properties dialog and the link widgets all read it from here, so they cannot disagree with each other.
| ContactUsage::Type anonymous_namespace{masterelement.cpp}::contactType | ( | ElementData::SlaveState | state | ) |
Map the element data's contact type onto the tally's own, so that the used count and the declared capacity cannot classify the same contact type differently.