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

Method count

core/dynamicpropertyadaptor.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40int DynamicPropertyAdaptor::count() const
41{
42 if (!object().isValid())
43 return 0;
44 Q_ASSERT(m_propNames.size() == object().qtObject()->dynamicPropertyNames().size());
45 return m_propNames.size();
46}
47
48PropertyData DynamicPropertyAdaptor::propertyData(int index) const
49{

Callers

nothing calls this directly

Calls 4

objectFunction · 0.85
qtObjectMethod · 0.80
isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected