![]() |
Qt 4.8
|
#include <qdeclarativeopenmetaobject_p.h>
Public Functions | |
| int | count () const |
| bool | hasValue (int) const |
| virtual QVariant | initialValue (int) |
| QByteArray | name (int) const |
| QObject * | object () const |
| QVariant & | operator[] (const QByteArray &) |
| QVariant & | operator[] (int) |
| QDeclarativeOpenMetaObject (QObject *, bool=true) | |
| QDeclarativeOpenMetaObject (QObject *, QDeclarativeOpenMetaObjectType *, bool=true) | |
| void | setCached (bool) |
| void | setValue (const QByteArray &, const QVariant &) |
| void | setValue (int, const QVariant &) |
| QDeclarativeOpenMetaObjectType * | type () const |
| QVariant | value (const QByteArray &) const |
| QVariant | value (int) const |
| ~QDeclarativeOpenMetaObject () | |
Public Functions inherited from QAbstractDynamicMetaObject | |
| virtual | ~QAbstractDynamicMetaObject () |
Public Functions inherited from QMetaObject | |
| QObject * | cast (QObject *obj) const |
| Returns obj if object obj inherits from this meta-object; otherwise returns 0. More... | |
| const QObject * | cast (const QObject *obj) const |
| Returns obj if object obj inherits from this meta-object; otherwise returns 0. More... | |
| QMetaClassInfo | classInfo (int index) const |
| Returns the meta-data for the item of class information with the given index. More... | |
| int | classInfoCount () const |
| Returns the number of items of class information in this class. More... | |
| int | classInfoOffset () const |
| Returns the class information offset for this class; i.e. More... | |
| const char * | className () const |
| Returns the class name. More... | |
| QMetaMethod | constructor (int index) const |
| Returns the meta-data for the constructor with the given index. More... | |
| int | constructorCount () const |
| Returns the number of constructors in this class. More... | |
| QMetaEnum | enumerator (int index) const |
| Returns the meta-data for the enumerator with the given index. More... | |
| int | enumeratorCount () const |
| Returns the number of enumerators in this class. More... | |
| int | enumeratorOffset () const |
| Returns the enumerator offset for this class; i.e. More... | |
| int | indexOfClassInfo (const char *name) const |
| Finds class information item name and returns its index; otherwise returns -1. More... | |
| int | indexOfConstructor (const char *constructor) const |
| Finds constructor and returns its index; otherwise returns -1. More... | |
| int | indexOfEnumerator (const char *name) const |
| Finds enumerator name and returns its index; otherwise returns -1. More... | |
| int | indexOfMethod (const char *method) const |
| Finds method and returns its index; otherwise returns -1. More... | |
| int | indexOfProperty (const char *name) const |
| Finds property name and returns its index; otherwise returns -1. More... | |
| int | indexOfSignal (const char *signal) const |
| Finds signal and returns its index; otherwise returns -1. More... | |
| int | indexOfSlot (const char *slot) const |
| Finds slot and returns its index; otherwise returns -1. More... | |
| QMetaMethod | method (int index) const |
| Returns the meta-data for the method with the given index. More... | |
| int | methodCount () const |
| Returns the number of methods known to the meta-object system in this class, including the number of properties provided by each base class. More... | |
| int | methodOffset () const |
| Returns the method offset for this class; i.e. More... | |
| QObject * | newInstance (QGenericArgument val0=QGenericArgument(0), QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument(), QGenericArgument val9=QGenericArgument()) const |
| Constructs a new instance of this class. More... | |
| QMetaProperty | property (int index) const |
| Returns the meta-data for the property with the given index. More... | |
| int | propertyCount () const |
| Returns the number of properties in this class, including the number of properties provided by each base class. More... | |
| int | propertyOffset () const |
| Returns the property offset for this class; i.e. More... | |
| int | static_metacall (Call, int, void **) const |
| const QMetaObject * | superClass () const |
| Returns the meta-object of the superclass, or 0 if there is no such object. More... | |
| QString | tr (const char *s, const char *c) const |
| QString | tr (const char *s, const char *c, int n) const |
| QString | trUtf8 (const char *s, const char *c) const |
| QString | trUtf8 (const char *s, const char *c, int n) const |
| QMetaProperty | userProperty () const |
Returns the property that has the USER flag set to true. More... | |
Protected Functions | |
| virtual int | createProperty (const char *, const char *) |
| virtual int | metaCall (QMetaObject::Call _c, int _id, void **_a) |
| QAbstractDynamicMetaObject * | parent () const |
| virtual void | propertyCreated (int, QMetaPropertyBuilder &) |
| virtual void | propertyRead (int) |
| virtual void | propertyWrite (int) |
| virtual void | propertyWritten (int) |
Properties | |
| QDeclarativeOpenMetaObjectPrivate * | d |
Friends | |
| class | QDeclarativeOpenMetaObjectType |
Definition at line 82 of file qdeclarativeopenmetaobject_p.h.
| QDeclarativeOpenMetaObject::QDeclarativeOpenMetaObject | ( | QObject * | obj, |
| bool | automatic = true |
||
| ) |
Definition at line 178 of file qdeclarativeopenmetaobject.cpp.
| QDeclarativeOpenMetaObject::QDeclarativeOpenMetaObject | ( | QObject * | obj, |
| QDeclarativeOpenMetaObjectType * | type, | ||
| bool | automatic = true |
||
| ) |
Definition at line 193 of file qdeclarativeopenmetaobject.cpp.
| QDeclarativeOpenMetaObject::~QDeclarativeOpenMetaObject | ( | ) |
Definition at line 209 of file qdeclarativeopenmetaobject.cpp.
| int QDeclarativeOpenMetaObject::count | ( | ) | const |
Definition at line 363 of file qdeclarativeopenmetaobject.cpp.
|
protectedvirtual |
Reimplemented from QAbstractDynamicMetaObject.
Reimplemented in QDeclarativeVisualDataModelDataMetaObject.
Definition at line 334 of file qdeclarativeopenmetaobject.cpp.
Referenced by QDeclarativeVisualDataModelDataMetaObject::createProperty(), and setValue().
| bool QDeclarativeOpenMetaObject::hasValue | ( | int | id | ) | const |
Definition at line 308 of file qdeclarativeopenmetaobject.cpp.
|
virtual |
Reimplemented in QDeclarativeVisualDataModelPartsMetaObject, and QDeclarativeVisualDataModelDataMetaObject.
Definition at line 358 of file qdeclarativeopenmetaobject.cpp.
|
protectedvirtual |
Reimplemented from QAbstractDynamicMetaObject.
Definition at line 223 of file qdeclarativeopenmetaobject.cpp.
| QByteArray QDeclarativeOpenMetaObject::name | ( | int | idx | ) | const |
Definition at line 368 of file qdeclarativeopenmetaobject.cpp.
Referenced by QDeclarativePropertyMapMetaObject::propertyWritten(), and ModelNodeMetaObject::propertyWritten().
| QObject * QDeclarativeOpenMetaObject::object | ( | ) | const |
Definition at line 375 of file qdeclarativeopenmetaobject.cpp.
Referenced by QDeclarativeVisualDataModelDataMetaObject::createProperty(), and QDeclarativeVisualDataModelDataMetaObject::initialValue().
| QVariant & QDeclarativeOpenMetaObject::operator[] | ( | const QByteArray & | name | ) |
Definition at line 273 of file qdeclarativeopenmetaobject.cpp.
Referenced by ModelNodeMetaObject::propertyWritten().
| QVariant & QDeclarativeOpenMetaObject::operator[] | ( | int | id | ) |
Definition at line 281 of file qdeclarativeopenmetaobject.cpp.
|
protected |
Definition at line 248 of file qdeclarativeopenmetaobject.cpp.
|
protectedvirtual |
Reimplemented in QDeclarativeVisualDataModelPartsMetaObject, and QDeclarativePropertyMapMetaObject.
Definition at line 354 of file qdeclarativeopenmetaobject.cpp.
|
protectedvirtual |
Definition at line 342 of file qdeclarativeopenmetaobject.cpp.
Referenced by metaCall().
|
protectedvirtual |
Definition at line 346 of file qdeclarativeopenmetaobject.cpp.
Referenced by metaCall().
|
protectedvirtual |
Reimplemented in ModelNodeMetaObject, and QDeclarativePropertyMapMetaObject.
Definition at line 350 of file qdeclarativeopenmetaobject.cpp.
Referenced by metaCall().
| void QDeclarativeOpenMetaObject::setCached | ( | bool | c | ) |
Definition at line 313 of file qdeclarativeopenmetaobject.cpp.
Referenced by QDeclarativeVisualDataModelData::ensureProperties(), and QDeclarativePathViewAttached::QDeclarativePathViewAttached().
| void QDeclarativeOpenMetaObject::setValue | ( | const QByteArray & | name, |
| const QVariant & | val | ||
| ) |
Definition at line 286 of file qdeclarativeopenmetaobject.cpp.
Referenced by ModelObject::setValue(), and QDeclarativePathViewAttached::setValue().
| void QDeclarativeOpenMetaObject::setValue | ( | int | id, |
| const QVariant & | value | ||
| ) |
Definition at line 258 of file qdeclarativeopenmetaobject.cpp.
| QDeclarativeOpenMetaObjectType * QDeclarativeOpenMetaObject::type | ( | ) | const |
Definition at line 218 of file qdeclarativeopenmetaobject.cpp.
Referenced by name(), and QDeclarativeOpenMetaObject().
| QVariant QDeclarativeOpenMetaObject::value | ( | const QByteArray & | name | ) | const |
Definition at line 264 of file qdeclarativeopenmetaobject.cpp.
Referenced by QDeclarativeVisualDataModelDataMetaObject::initialValue(), ModelNodeMetaObject::propertyWritten(), and QDeclarativePathViewAttached::value().
| QVariant QDeclarativeOpenMetaObject::value | ( | int | id | ) | const |
Definition at line 253 of file qdeclarativeopenmetaobject.cpp.
|
friend |
Definition at line 122 of file qdeclarativeopenmetaobject_p.h.
Referenced by QDeclarativeOpenMetaObject().
|
private |
Definition at line 121 of file qdeclarativeopenmetaobject_p.h.
Referenced by count(), createProperty(), hasValue(), metaCall(), name(), object(), operator[](), parent(), QDeclarativeOpenMetaObject(), setCached(), setValue(), type(), value(), and ~QDeclarativeOpenMetaObject().