Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QAbstractFormBuilder::applyProperties ( QObject o,
const QList< DomProperty * > &  properties 
) [protected, virtual]

For internal use only.

Reimplemented in QFormBuilder.

Definition at line 748 of file abstractformbuilder.cpp.

References QVariant::isNull(), QObject::setProperty(), and toVariant().

Referenced by create().

    foreach (DomProperty *p, properties) {
        QVariant v = toVariant(o->metaObject(), p);
        if (!v.isNull())
            o->setProperty(p->attributeName().toUtf8(), v);

Generated by  Doxygen 1.6.0   Back to index