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

int QMetaObject::propertyCount (  )  const

Returns the number of properties in this class.

See also:
property(), propertyOffset(), indexOfProperty()

Definition at line 347 of file qmetaobject.cpp.

References d, data, and superdata.

Referenced by QAbstractFormBuilder::computeProperties().

    int n = priv(d.data)->propertyCount;
    const QMetaObject *m = d.superdata;
    while (m) {
        n += priv(m->d.data)->propertyCount;
        m = m->d.superdata;
    return n;

Generated by  Doxygen 1.6.0   Back to index