| 38 | } |
| 39 | |
| 40 | int 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 | |
| 48 | PropertyData DynamicPropertyAdaptor::propertyData(int index) const |
| 49 | { |