MCPcopy Create free account
hub / github.com/KDE/kdenlive / getEffectZones

Method getEffectZones

src/effects/effectstack/model/effectstackmodel.cpp:2029–2040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2027}
2028
2029QVariantList EffectStackModel::getEffectZones() const
2030{
2031 QVariantList effectZones;
2032 for (int i = 0; i < rootItem->childCount(); ++i) {
2033 auto item = std::static_pointer_cast<EffectItemModel>(rootItem->child(i));
2034 if (item->hasForcedInOut()) {
2035 QPair<int, int> z = item->getInOut();
2036 effectZones << QPoint(z.first, z.second);
2037 }
2038 }
2039 return effectZones;
2040}
2041
2042void EffectStackModel::updateEffectZones()
2043{

Callers 2

stackZonesMethod · 0.80
getMasterEffectZonesMethod · 0.80

Calls 5

QPointClass · 0.85
childCountMethod · 0.80
childMethod · 0.80
hasForcedInOutMethod · 0.80
getInOutMethod · 0.45

Tested by

no test coverage detected