Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qqmlsa_p.h>
Public Member Functions | |
PropertyPrivate (Property *) | |
PropertyPrivate (Property *, const PropertyPrivate &) | |
PropertyPrivate (Property *, PropertyPrivate &&) | |
~PropertyPrivate ()=default | |
QString | typeName () const |
bool | isValid () const |
bool | isReadonly () const |
Returns whether this property is readonly. | |
QQmlSA::Element | type () const |
Returns the type that this property was defined with. | |
Static Public Member Functions | |
static QQmlJSMetaProperty | property (const QQmlSA::Property &property) |
static QQmlSA::Property | createProperty (const QQmlJSMetaProperty &) |
Friends | |
class | QT_PREPEND_NAMESPACE (QQmlJSMetaProperty) |
Definition at line 156 of file qqmlsa_p.h.
|
explicit |
Definition at line 424 of file qqmlsa.cpp.
QQmlSA::PropertyPrivate::PropertyPrivate | ( | Property * | interface, |
const PropertyPrivate & | other ) |
Definition at line 426 of file qqmlsa.cpp.
QQmlSA::PropertyPrivate::PropertyPrivate | ( | Property * | interface, |
PropertyPrivate && | other ) |
Definition at line 431 of file qqmlsa.cpp.
|
default |
|
static |
Definition at line 469 of file qqmlsa.cpp.
References property.
Referenced by QQmlSA::Element::property().
bool QQmlSA::PropertyPrivate::isReadonly | ( | ) | const |
Returns whether this property is readonly.
Properties defined in QML are readonly when their definition has the 'readonly' keyword. Properties defined in C++ are readonly when they do not have a WRITE accessor function.
Definition at line 451 of file qqmlsa.cpp.
References QQmlJSMetaProperty::isWritable().
bool QQmlSA::PropertyPrivate::isValid | ( | ) | const |
Definition at line 441 of file qqmlsa.cpp.
References QQmlJSMetaProperty::isValid().
|
static |
Definition at line 464 of file qqmlsa.cpp.
QQmlSA::Element QQmlSA::PropertyPrivate::type | ( | ) | const |
Returns the type that this property was defined with.
Definition at line 459 of file qqmlsa.cpp.
References QQmlJSScope::createQQmlSAElement(), and QQmlJSMetaProperty::type().
QString QQmlSA::PropertyPrivate::typeName | ( | ) | const |
Definition at line 436 of file qqmlsa.cpp.
References QQmlJSMetaProperty::typeName().
|
friend |