MCPcopy Create free account
hub / github.com/KDAB/GammaRay / syncSourceToDestination

Method syncSourceToDestination

ui/propertybinder.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void PropertyBinder::syncSourceToDestination()
76{
77 if (!m_destination || m_lock)
78 return;
79
80 m_lock = true;
81 for (const auto &b : std::as_const(m_properties))
82 b.destinationProperty.write(m_destination, b.sourceProperty.read(m_source));
83 m_lock = false;
84}
85
86void PropertyBinder::syncDestinationToSource()
87{

Callers 1

testMultiBindingMethod · 0.80

Calls 1

writeMethod · 0.80

Tested by 1

testMultiBindingMethod · 0.64