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>.
Loading...
Searching...
No Matches
QQmlSA::PropertyPrivate Class Reference

#include <qqmlsa_p.h>

+ Collaboration diagram for QQmlSA::PropertyPrivate:

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)
 

Detailed Description

Definition at line 156 of file qqmlsa_p.h.

Constructor & Destructor Documentation

◆ PropertyPrivate() [1/3]

QQmlSA::PropertyPrivate::PropertyPrivate ( Property * interface)
explicit

Definition at line 424 of file qqmlsa.cpp.

◆ PropertyPrivate() [2/3]

QQmlSA::PropertyPrivate::PropertyPrivate ( Property * interface,
const PropertyPrivate & other )

Definition at line 426 of file qqmlsa.cpp.

◆ PropertyPrivate() [3/3]

QQmlSA::PropertyPrivate::PropertyPrivate ( Property * interface,
PropertyPrivate && other )

Definition at line 431 of file qqmlsa.cpp.

◆ ~PropertyPrivate()

QQmlSA::PropertyPrivate::~PropertyPrivate ( )
default

Member Function Documentation

◆ createProperty()

QQmlSA::Property QQmlSA::PropertyPrivate::createProperty ( const QQmlJSMetaProperty & property)
static

Definition at line 469 of file qqmlsa.cpp.

References property.

Referenced by QQmlSA::Element::property().

+ Here is the caller graph for this function:

◆ isReadonly()

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().

+ Here is the call graph for this function:

◆ isValid()

bool QQmlSA::PropertyPrivate::isValid ( ) const

Definition at line 441 of file qqmlsa.cpp.

References QQmlJSMetaProperty::isValid().

+ Here is the call graph for this function:

◆ property()

QQmlJSMetaProperty QQmlSA::PropertyPrivate::property ( const QQmlSA::Property & property)
static

Definition at line 464 of file qqmlsa.cpp.

◆ type()

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().

+ Here is the call graph for this function:

◆ typeName()

QString QQmlSA::PropertyPrivate::typeName ( ) const

Definition at line 436 of file qqmlsa.cpp.

References QQmlJSMetaProperty::typeName().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ QT_PREPEND_NAMESPACE

class QT_PREPEND_NAMESPACE ( QQmlJSMetaProperty )
friend

The documentation for this class was generated from the following files: