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
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 360 of file qqmljsmetatypes_p.h.

Constructor & Destructor Documentation

◆ QQmlJSMetaProperty()

QQmlJSMetaProperty::QQmlJSMetaProperty ( )
default

Member Function Documentation

◆ aliasExpression()

QString QQmlJSMetaProperty::aliasExpression ( ) const
inline

Definition at line 425 of file qqmljsmetatypes_p.h.

◆ annotations()

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

Definition at line 413 of file qqmljsmetatypes_p.h.

◆ bindable()

QString QQmlJSMetaProperty::bindable ( ) const
inline

Definition at line 400 of file qqmljsmetatypes_p.h.

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

+ Here is the caller graph for this function:

◆ index()

int QQmlJSMetaProperty::index ( ) const
inline

Definition at line 438 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 426 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 432 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 429 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 416 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 422 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 407 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 440 of file qqmljsmetatypes_p.h.

References QString::isEmpty().

Referenced by QQmlSA::PropertyPrivate::isValid(), and resolve().

+ 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 419 of file qqmljsmetatypes_p.h.

Referenced by QQmlSA::PropertyPrivate::isReadonly(), and setIsWritable().

+ Here is the caller graph for this function:

◆ notify()

QString QQmlJSMetaProperty::notify ( ) const
inline

Definition at line 403 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 406 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 385 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 391 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 397 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 435 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 424 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 412 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 399 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 437 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 431 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 428 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 415 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 421 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 418 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 402 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 405 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 384 of file qqmljsmetatypes_p.h.

References propertyName().

Referenced by QQmlJSTypeResolver::iteratorPointer(), 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 390 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 396 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 434 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 409 of file qqmljsmetatypes_p.h.

References type().

Referenced by QQmlJSTypeResolver::iteratorPointer(), 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 387 of file qqmljsmetatypes_p.h.

References typeName().

Referenced by QQmlJSTypeResolver::iteratorPointer(), 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 393 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 410 of file qqmljsmetatypes_p.h.

Referenced by QQmlJSTypeResolver::consoleObject(), QQmlJSTypeResolver::containedType(), QQmlJSTypeResolver::mathObject(), QQmlJSImportVisitor::processDefaultProperties(), resolveSignalOrPropertyExpressionType(), setType(), QQmlJSTypeResolver::transformed(), and QQmlSA::PropertyPrivate::type().

+ Here is the caller graph for this function:

◆ typeName()

QString QQmlJSMetaProperty::typeName ( ) const
inline

Definition at line 388 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 394 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 452 of file qqmljsmetatypes_p.h.

◆ operator==

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

Definition at line 442 of file qqmljsmetatypes_p.h.

◆ qHash

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

Definition at line 457 of file qqmljsmetatypes_p.h.


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