| 29 | EnumsExtension::~EnumsExtension() = default; |
| 30 | |
| 31 | bool EnumsExtension::setQObject(QObject *object) |
| 32 | { |
| 33 | m_model->setMetaObject(object ? object->metaObject() : nullptr); |
| 34 | return m_model->rowCount() > 0; |
| 35 | } |
| 36 | |
| 37 | bool EnumsExtension::setMetaObject(const QMetaObject *metaObject) |
| 38 | { |
nothing calls this directly
no test coverage detected