Revision df1e56bd
Von Christian Ehringfeld vor mehr als 10 Jahren hinzugefügt
| src/entityinstancefactory.cpp | ||
|---|---|---|
|
while (iterator != attributes.constEnd()) {
|
||
|
if (metaprops.contains(iterator.key())) {
|
||
|
QMetaProperty prop = metaprops.value(iterator.key());
|
||
|
if(prop.isWritable()) {
|
||
|
if(prop.isEnumType()) {
|
||
|
prop.write(e,prop.enumerator().key(iterator.value().toInt()));
|
||
|
if (prop.isWritable()) {
|
||
|
if (prop.isEnumType()) {
|
||
|
prop.write(e, prop.enumerator().key(iterator.value().toInt()));
|
||
|
} else {
|
||
|
prop.write(e, iterator.value());
|
||
|
}
|
||
Auch abrufbar als: Unified diff
many-to-one