![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QQmlBindEntry ()=default | |
QQmlBindEntry (QQmlBindEntry &&other) noexcept | |
QQmlBindEntry (const QQmlBindEntry &other) | |
~QQmlBindEntry () | |
QQmlBindEntry & | operator= (QQmlBindEntry &&other) noexcept |
QQmlBindEntry & | operator= (const QQmlBindEntry &other) |
void | validate (QQmlBind *q) const |
void | clearPrev () |
void | setTarget (QQmlBind *q, const QQmlProperty &p) |
QQmlBindEntry holds two QQmlBindEntryContent members, along with their kinds. The \l current content is the value or binding the Binding element installs on the target if enabled (that is, if \l{when}). The \l previous content is what the target holds before the Binding element installs its binding or value. It is restored if !\l{when}. The \l prop member holds the target property.
Definition at line 153 of file qqmlbind.cpp.
|
default |
|
inlinenoexcept |
Definition at line 156 of file qqmlbind.cpp.
References current, currentKind, other(), previous, previousKind, and QQmlBindEntryContent::set().
|
inline |
Definition at line 162 of file qqmlbind.cpp.
References current, currentKind, other(), previous, previousKind, and QQmlBindEntryContent::set().
|
inline |
Definition at line 169 of file qqmlbind.cpp.
References current, currentKind, QQmlBindEntryContent::destroy(), previous, and previousKind.
void QQmlBindEntry::clearPrev | ( | ) |
Definition at line 950 of file qqmlbind.cpp.
References QQmlBindEntryContent::destroy(), previous, and previousKind.
|
inline |
Definition at line 185 of file qqmlbind.cpp.
References current, currentKind, other(), previous, previousKind, prop, and QQmlBindEntryContent::set().
|
inlinenoexcept |
Definition at line 175 of file qqmlbind.cpp.
References current, currentKind, other(), previous, previousKind, prop, and QQmlBindEntryContent::set().
void QQmlBindEntry::setTarget | ( | QQmlBind * | q, |
const QQmlProperty & | p | ||
) |
Definition at line 685 of file qqmlbind.cpp.
References QObject::disconnect(), QMetaProperty::hasNotifySignal(), QQmlProperty::index(), QMetaMethod::methodSignature(), QMetaProperty::notifySignal(), QQmlProperty::object, prop, Q_UNLIKELY, signal, and SLOT.
Definition at line 288 of file qqmlbind.cpp.
References QQmlProperty::isWritable(), QQmlProperty::name, QQmlProperty::object, QQmlMetaType::prettyTypeName(), prop, and qmlWarning().
QQmlBindEntryContent QQmlBindEntry::current |
Definition at line 196 of file qqmlbind.cpp.
Referenced by QQmlBindEntry(), QQmlBindEntry(), ~QQmlBindEntry(), operator=(), operator=(), and QQmlBind::setValue().
QQmlBindEntryKind QQmlBindEntry::currentKind = QQmlBindEntryKind::None |
Definition at line 199 of file qqmlbind.cpp.
Referenced by QQmlBindEntry(), QQmlBindEntry(), ~QQmlBindEntry(), operator=(), operator=(), QQmlBind::setDelayed(), and QQmlBind::setValue().
QQmlBindEntryContent QQmlBindEntry::previous |
Definition at line 197 of file qqmlbind.cpp.
Referenced by QQmlBindEntry(), QQmlBindEntry(), ~QQmlBindEntry(), clearPrev(), operator=(), operator=(), and QQmlBind::setDelayed().
QQmlBindEntryKind QQmlBindEntry::previousKind = QQmlBindEntryKind::None |
Definition at line 200 of file qqmlbind.cpp.
Referenced by QQmlBindEntry(), QQmlBindEntry(), ~QQmlBindEntry(), clearPrev(), operator=(), operator=(), and QQmlBind::setDelayed().
QQmlProperty QQmlBindEntry::prop |
Definition at line 198 of file qqmlbind.cpp.
Referenced by operator=(), operator=(), QQmlBind::setDelayed(), setTarget(), QQmlBindPrivate::validate(), and validate().