Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlBindEntryContent Union Reference
+ Collaboration diagram for QQmlBindEntryContent:

Public Member Functions

 QQmlBindEntryContent ()
 
 ~QQmlBindEntryContent ()
 
QQmlBindEntryKind set (QQmlBindEntryContent &&other, QQmlBindEntryKind newKind, QQmlBindEntryKind oldKind)
 
QQmlBindEntryKind set (const QQmlBindEntryContent &other, QQmlBindEntryKind newKind, QQmlBindEntryKind oldKind)
 
QQmlBindEntryKind destroy (QQmlBindEntryKind kind)
 
QQmlBindEntryKind set (QVariant v, QQmlBindEntryKind oldKind)
 
QQmlBindEntryKind set (QV4::PersistentValue v, QQmlBindEntryKind oldKind)
 
QQmlBindEntryKind set (QQmlAnyBinding v, QQmlBindEntryKind oldKind)
 

Public Attributes

QV4::PersistentValue v4Value
 
QVariant variant
 
QQmlAnyBinding binding
 

Detailed Description

QQmlBindEntryContent can store one of QV4::Value, QVariant, QQmlAnyBinding, or nothing, as denoted by QQmlBindEntryKind. It expects the calling code to know what is stored at any time. On each method invocation, the current kind has to be passed as last parameter and the new kind is returned.

Definition at line 47 of file qqmlbind.cpp.

Constructor & Destructor Documentation

◆ QQmlBindEntryContent()

QQmlBindEntryContent::QQmlBindEntryContent ( )
inline

Definition at line 50 of file qqmlbind.cpp.

◆ ~QQmlBindEntryContent()

QQmlBindEntryContent::~QQmlBindEntryContent ( )
inline

Definition at line 51 of file qqmlbind.cpp.

Member Function Documentation

◆ destroy()

QQmlBindEntryKind QQmlBindEntryContent::destroy ( QQmlBindEntryKind  kind)
inline

Definition at line 93 of file qqmlbind.cpp.

References QV4::PersistentValue::~PersistentValue(), QQmlAnyBinding::~QQmlAnyBinding(), QVariant::~QVariant(), Binding, binding, None, V4Value, v4Value, Variant, and variant.

Referenced by QQmlBindEntry::~QQmlBindEntry(), and QQmlBindEntry::clearPrev().

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

◆ set() [1/5]

QQmlBindEntryKind QQmlBindEntryContent::set ( const QQmlBindEntryContent other,
QQmlBindEntryKind  newKind,
QQmlBindEntryKind  oldKind 
)
inline

Definition at line 73 of file qqmlbind.cpp.

References Binding, binding, None, other(), V4Value, v4Value, Variant, and variant.

+ Here is the call graph for this function:

◆ set() [2/5]

QQmlBindEntryKind QQmlBindEntryContent::set ( QQmlAnyBinding  v,
QQmlBindEntryKind  oldKind 
)
inline

Definition at line 125 of file qqmlbind.cpp.

References Binding, and binding.

◆ set() [3/5]

QQmlBindEntryKind QQmlBindEntryContent::set ( QQmlBindEntryContent &&  other,
QQmlBindEntryKind  newKind,
QQmlBindEntryKind  oldKind 
)
inline

Definition at line 53 of file qqmlbind.cpp.

References Binding, binding, None, other(), V4Value, v4Value, Variant, and variant.

Referenced by QQmlBindEntry::QQmlBindEntry(), QQmlBindEntry::QQmlBindEntry(), QQmlBindEntry::operator=(), QQmlBindEntry::operator=(), QQmlBind::setDelayed(), and QQmlBind::setValue().

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

◆ set() [4/5]

QQmlBindEntryKind QQmlBindEntryContent::set ( QV4::PersistentValue  v,
QQmlBindEntryKind  oldKind 
)
inline

Definition at line 118 of file qqmlbind.cpp.

References V4Value, and v4Value.

◆ set() [5/5]

QQmlBindEntryKind QQmlBindEntryContent::set ( QVariant  v,
QQmlBindEntryKind  oldKind 
)
inline

Definition at line 111 of file qqmlbind.cpp.

References Variant, and variant.

Member Data Documentation

◆ binding

QQmlAnyBinding QQmlBindEntryContent::binding

Definition at line 134 of file qqmlbind.cpp.

Referenced by destroy(), set(), set(), and set().

◆ v4Value

QV4::PersistentValue QQmlBindEntryContent::v4Value

Definition at line 132 of file qqmlbind.cpp.

Referenced by destroy(), set(), set(), and set().

◆ variant

QVariant QQmlBindEntryContent::variant

Definition at line 133 of file qqmlbind.cpp.

Referenced by destroy(), set(), set(), and set().


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