Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlSA::Property Class Reference

\inmodule QtQmlCompiler More...

#include <qqmlsa.h>

Collaboration diagram for QQmlSA::Property:

Public Member Functions

 Property ()
 Constructs a new Property object.
 Property (const Property &)
 Creates a copy of other.
 Property (Property &&) noexcept
 Move-constructs a Property instance.
Propertyoperator= (const Property &)
 Assigns other to this Property instance.
Propertyoperator= (Property &&) noexcept
 Move-assigns other to this Property instance.
 ~Property ()
 Destroys this property.
QString typeName () const
 Returns the name of the type of this property.
bool isValid () const
 Returns true if this property is valid, false otherwise.
bool isReadonly () const
 Returns true if this property is read-only, false otherwise.
QQmlSA::Element type () const
 Returns the type of this property.

Friends

bool operator== (const Property &lhs, const Property &rhs)
 Returns true if lhs and rhs are equal, and false otherwise.
bool operator!= (const Property &lhs, const Property &rhs)
 Returns true if lhs and rhs are not equal, and false otherwise.

Detailed Description

\inmodule QtQmlCompiler

Represents a QML property.

Definition at line 168 of file qqmlsa.h.

Constructor & Destructor Documentation

◆ Property() [1/3]

Property::Property ( )

Constructs a new Property object.

Definition at line 769 of file qqmlsa.cpp.

◆ Property() [2/3]

Property::Property ( const Property & other)

Creates a copy of other.

Definition at line 774 of file qqmlsa.cpp.

◆ Property() [3/3]

Property::Property ( Property && other)
noexcept

Move-constructs a Property instance.

Definition at line 780 of file qqmlsa.cpp.

◆ ~Property()

Property::~Property ( )
default

Destroys this property.

Member Function Documentation

◆ isReadonly()

bool Property::isReadonly ( ) const

Returns true if this property is read-only, false otherwise.

Definition at line 837 of file qqmlsa.cpp.

◆ isValid()

bool Property::isValid ( ) const

Returns true if this property is valid, false otherwise.

Definition at line 828 of file qqmlsa.cpp.

◆ operator=() [1/2]

Property & Property::operator= ( const Property & other)

Assigns other to this Property instance.

Definition at line 788 of file qqmlsa.cpp.

◆ operator=() [2/2]

Property & Property::operator= ( Property && other)
noexcept

Move-assigns other to this Property instance.

Definition at line 801 of file qqmlsa.cpp.

◆ type()

QQmlSA::Element Property::type ( ) const

Returns the type of this property.

Definition at line 846 of file qqmlsa.cpp.

◆ typeName()

QString Property::typeName ( ) const

Returns the name of the type of this property.

Definition at line 819 of file qqmlsa.cpp.

◆ operator!=

bool operator!= ( const Property & lhs,
const Property & rhs )
friend

Returns true if lhs and rhs are not equal, and false otherwise.

Definition at line 190 of file qqmlsa.h.

◆ operator==

bool operator== ( const Property & lhs,
const Property & rhs )
friend

Returns true if lhs and rhs are equal, and false otherwise.

Definition at line 185 of file qqmlsa.h.


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