Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJSMetaProperty Class Reference

#include <qqmljsmetatypes_p.h>

+ Collaboration diagram for QQmlJSMetaProperty:

Public Member Functions

 QQmlJSMetaProperty ()=default
 
void setPropertyName (const QString &propertyName)
 
QString propertyName () const
 
void setTypeName (const QString &typeName)
 
QString typeName () const
 
void setRead (const QString &read)
 
QString read () const
 
void setWrite (const QString &write)
 
QString write () const
 
void setReset (const QString &reset)
 
QString reset () const
 
void setBindable (const QString &bindable)
 
QString bindable () const
 
void setNotify (const QString &notify)
 
QString notify () const
 
void setPrivateClass (const QString &privateClass)
 
QString privateClass () const
 
bool isPrivate () const
 
void setType (const QSharedPointer< const QQmlJSScope > &type)
 
QSharedPointer< const QQmlJSScopetype () const
 
void setAnnotations (const QList< QQmlJSAnnotation > &annotation)
 
const QList< QQmlJSAnnotation > & annotations () const
 
void setIsList (bool isList)
 
bool isList () const
 
void setIsWritable (bool isWritable)
 
bool isWritable () const
 
void setIsPointer (bool isPointer)
 
bool isPointer () const
 
void setAliasExpression (const QString &aliasString)
 
QString aliasExpression () const
 
bool isAlias () const
 
void setIsFinal (bool isFinal)
 
bool isFinal () const
 
void setIsConstant (bool isConstant)
 
bool isConstant () const
 
void setRevision (int revision)
 
int revision () const
 
void setIndex (int index)
 
int index () const
 
bool isValid () const
 

Friends

bool operator== (const QQmlJSMetaProperty &a, const QQmlJSMetaProperty &b)
 
bool operator!= (const QQmlJSMetaProperty &a, const QQmlJSMetaProperty &b)
 
size_t qHash (const QQmlJSMetaProperty &prop, size_t seed=0)
 

Detailed Description

Definition at line 343 of file qqmljsmetatypes_p.h.

Constructor & Destructor Documentation

◆ QQmlJSMetaProperty()

QQmlJSMetaProperty::QQmlJSMetaProperty ( )
default

Member Function Documentation

◆ aliasExpression()

QString QQmlJSMetaProperty::aliasExpression ( ) const
inline

Definition at line 408 of file qqmljsmetatypes_p.h.

◆ annotations()

const QList< QQmlJSAnnotation > & QQmlJSMetaProperty::annotations ( ) const
inline

Definition at line 396 of file qqmljsmetatypes_p.h.

◆ bindable()

QString QQmlJSMetaProperty::bindable ( ) const
inline

Definition at line 383 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSUtils::changeHandlerProperty(), and setBindable().

+ Here is the caller graph for this function:

◆ index()

int QQmlJSMetaProperty::index ( ) const
inline

Definition at line 421 of file qqmljsmetatypes_p.h.

Referenced by setIndex().

+ Here is the caller graph for this function:

◆ isAlias()

bool QQmlJSMetaProperty::isAlias ( ) const
inline

Definition at line 409 of file qqmljsmetatypes_p.h.

References QString::isEmpty().

+ Here is the call graph for this function:

◆ isConstant()

bool QQmlJSMetaProperty::isConstant ( ) const
inline

Definition at line 415 of file qqmljsmetatypes_p.h.

Referenced by setIsConstant().

+ Here is the caller graph for this function:

◆ isFinal()

bool QQmlJSMetaProperty::isFinal ( ) const
inline

Definition at line 412 of file qqmljsmetatypes_p.h.

Referenced by setIsFinal().

+ Here is the caller graph for this function:

◆ isList()

bool QQmlJSMetaProperty::isList ( ) const
inline

Definition at line 399 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSImportVisitor::processDefaultProperties(), setIsList(), and QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ isPointer()

bool QQmlJSMetaProperty::isPointer ( ) const
inline

Definition at line 405 of file qqmljsmetatypes_p.h.

Referenced by setIsPointer().

+ Here is the caller graph for this function:

◆ isPrivate()

bool QQmlJSMetaProperty::isPrivate ( ) const
inline

Definition at line 390 of file qqmljsmetatypes_p.h.

References QString::isEmpty().

+ Here is the call graph for this function:

◆ isValid()

bool QQmlJSMetaProperty::isValid ( ) const
inline

Definition at line 423 of file qqmljsmetatypes_p.h.

References QString::isEmpty().

Referenced by QQmlSA::PropertyPrivate::isValid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isWritable()

bool QQmlJSMetaProperty::isWritable ( ) const
inline

Definition at line 402 of file qqmljsmetatypes_p.h.

Referenced by setIsWritable().

+ Here is the caller graph for this function:

◆ notify()

QString QQmlJSMetaProperty::notify ( ) const
inline

Definition at line 386 of file qqmljsmetatypes_p.h.

Referenced by setNotify().

+ Here is the caller graph for this function:

◆ privateClass()

QString QQmlJSMetaProperty::privateClass ( ) const
inline

Definition at line 389 of file qqmljsmetatypes_p.h.

Referenced by setPrivateClass().

+ Here is the caller graph for this function:

◆ propertyName()

QString QQmlJSMetaProperty::propertyName ( ) const
inline

Definition at line 368 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSScope::addOwnProperty(), QQmlJSRegisterContent::descriptiveName(), setPropertyName(), and QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ read()

QString QQmlJSMetaProperty::read ( ) const
inline

Definition at line 374 of file qqmljsmetatypes_p.h.

Referenced by setRead().

+ Here is the caller graph for this function:

◆ reset()

QString QQmlJSMetaProperty::reset ( ) const
inline

Definition at line 380 of file qqmljsmetatypes_p.h.

Referenced by setReset().

+ Here is the caller graph for this function:

◆ revision()

int QQmlJSMetaProperty::revision ( ) const
inline

Definition at line 418 of file qqmljsmetatypes_p.h.

Referenced by setRevision().

+ Here is the caller graph for this function:

◆ setAliasExpression()

void QQmlJSMetaProperty::setAliasExpression ( const QString aliasString)
inline

Definition at line 407 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ setAnnotations()

void QQmlJSMetaProperty::setAnnotations ( const QList< QQmlJSAnnotation > &  annotation)
inline

Definition at line 395 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ setBindable()

void QQmlJSMetaProperty::setBindable ( const QString bindable)
inline

Definition at line 382 of file qqmljsmetatypes_p.h.

References bindable().

+ Here is the call graph for this function:

◆ setIndex()

void QQmlJSMetaProperty::setIndex ( int  index)
inline

Definition at line 420 of file qqmljsmetatypes_p.h.

References index().

Referenced by QQmlJSImportVisitor::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setIsConstant()

void QQmlJSMetaProperty::setIsConstant ( bool  isConstant)
inline

Definition at line 414 of file qqmljsmetatypes_p.h.

References isConstant().

+ Here is the call graph for this function:

◆ setIsFinal()

void QQmlJSMetaProperty::setIsFinal ( bool  isFinal)
inline

Definition at line 411 of file qqmljsmetatypes_p.h.

References isFinal().

+ Here is the call graph for this function:

◆ setIsList()

void QQmlJSMetaProperty::setIsList ( bool  isList)
inline

Definition at line 398 of file qqmljsmetatypes_p.h.

References isList().

Referenced by QQmlJSImportVisitor::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setIsPointer()

void QQmlJSMetaProperty::setIsPointer ( bool  isPointer)
inline

Definition at line 404 of file qqmljsmetatypes_p.h.

References isPointer().

+ Here is the call graph for this function:

◆ setIsWritable()

void QQmlJSMetaProperty::setIsWritable ( bool  isWritable)
inline

Definition at line 401 of file qqmljsmetatypes_p.h.

References isWritable().

Referenced by QQmlJSTypeResolver::lengthProperty(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::memberType(), and QQmlJSImportVisitor::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNotify()

void QQmlJSMetaProperty::setNotify ( const QString notify)
inline

Definition at line 385 of file qqmljsmetatypes_p.h.

References notify().

+ Here is the call graph for this function:

◆ setPrivateClass()

void QQmlJSMetaProperty::setPrivateClass ( const QString privateClass)
inline

Definition at line 388 of file qqmljsmetatypes_p.h.

References privateClass().

+ Here is the call graph for this function:

◆ setPropertyName()

void QQmlJSMetaProperty::setPropertyName ( const QString propertyName)
inline

Definition at line 367 of file qqmljsmetatypes_p.h.

References propertyName().

Referenced by QQmlJSTypeResolver::lengthProperty(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::memberType(), QQmlJSImportVisitor::visit(), and QQmlJSImportVisitor::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRead()

void QQmlJSMetaProperty::setRead ( const QString read)
inline

Definition at line 373 of file qqmljsmetatypes_p.h.

References read().

+ Here is the call graph for this function:

◆ setReset()

void QQmlJSMetaProperty::setReset ( const QString reset)
inline

Definition at line 379 of file qqmljsmetatypes_p.h.

References reset().

+ Here is the call graph for this function:

◆ setRevision()

void QQmlJSMetaProperty::setRevision ( int  revision)
inline

Definition at line 417 of file qqmljsmetatypes_p.h.

References revision().

+ Here is the call graph for this function:

◆ setType()

void QQmlJSMetaProperty::setType ( const QSharedPointer< const QQmlJSScope > &  type)
inline

Definition at line 392 of file qqmljsmetatypes_p.h.

References type().

Referenced by QQmlJSTypeResolver::lengthProperty(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::transformed(), and QQmlJSImportVisitor::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTypeName()

void QQmlJSMetaProperty::setTypeName ( const QString typeName)
inline

Definition at line 370 of file qqmljsmetatypes_p.h.

References typeName().

Referenced by QQmlJSTypeResolver::lengthProperty(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::memberType(), and QQmlJSImportVisitor::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWrite()

void QQmlJSMetaProperty::setWrite ( const QString write)
inline

Definition at line 376 of file qqmljsmetatypes_p.h.

References write().

+ Here is the call graph for this function:

◆ type()

QSharedPointer< const QQmlJSScope > QQmlJSMetaProperty::type ( ) const
inline

Definition at line 393 of file qqmljsmetatypes_p.h.

References QWeakPointer< T >::toStrongRef().

Referenced by QQmlJSTypeResolver::containedType(), QQmlJSTypePropagator::generate_CallProperty(), QQmlJSImportVisitor::processDefaultProperties(), QQmlJSTypeResolver::registerContains(), setType(), and QQmlJSTypeResolver::transformed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ typeName()

QString QQmlJSMetaProperty::typeName ( ) const
inline

Definition at line 371 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSRegisterContent::descriptiveName(), QQmlJSImportVisitor::processDefaultProperties(), setTypeName(), and QQmlSA::PropertyPrivate::typeName().

+ Here is the caller graph for this function:

◆ write()

QString QQmlJSMetaProperty::write ( ) const
inline

Definition at line 377 of file qqmljsmetatypes_p.h.

Referenced by setWrite().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const QQmlJSMetaProperty a,
const QQmlJSMetaProperty b 
)
friend

Definition at line 435 of file qqmljsmetatypes_p.h.

◆ operator==

bool operator== ( const QQmlJSMetaProperty a,
const QQmlJSMetaProperty b 
)
friend

Definition at line 425 of file qqmljsmetatypes_p.h.

◆ qHash

size_t qHash ( const QQmlJSMetaProperty prop,
size_t  seed = 0 
)
friend

Definition at line 440 of file qqmljsmetatypes_p.h.


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