22#include <private/qqmlproperty_p.h>
23#include <private/qqmlguard_p.h>
25#include <private/qqmlbinding_p.h>
27#include <private/qobject_p.h>
38 m_specifiedObject =
a.specifiedObject;
39 m_specifiedProperty =
a.specifiedProperty;
44 m_reverseEvent =
true;
47 m_binding =
a.toBinding;
48 m_reverseEvent =
false;
57 : m_property(
other.m_property),
58 m_value(
other.m_value),
60 m_specifiedObject(
other.m_specifiedObject),
61 m_specifiedProperty(
other.m_specifiedProperty),
62 m_event(
other.m_event),
63 m_reverseEvent(
other.m_reverseEvent)
69 m_property =
other.m_property;
70 m_value =
other.m_value;
71 m_binding =
other.binding();
72 m_specifiedObject =
other.m_specifiedObject;
73 m_specifiedProperty =
other.m_specifiedProperty;
74 m_event =
other.m_event;
75 m_reverseEvent =
other.m_reverseEvent;
112 return m_specifiedObject;
117 return m_specifiedProperty;
127 return m_reverseEvent;
191 This->
list->removeOne(*This);
203 for (
auto &
e : *
list)
204 e->setState(
nullptr);
219 if (guard.object() == op) {
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
void replace(qsizetype i, parameter_type t)
void removeLast() noexcept
void append(parameter_type t)
QQmlAnyBinding is an abstraction over the various bindings in QML.
static QQmlAnyBinding ofProperty(const QQmlProperty &prop)
void setObject(QQuickStateOperation *g)
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
The QQmlProperty class abstracts accessing properties on objects created from QML.
QMetaProperty property() const
Returns the \l{QMetaProperty} {Qt property} associated with this QML property.
QQuickRevertAction(QQuickStateActionEvent *e)
QQuickRevertAction(const QQmlProperty &prop)
QQuickStateActionEvent * event
const QVariant & value() const
QQuickStateActionEvent * event() const
QQuickSimpleAction & operator=(const QQuickSimpleAction &other)
void setProperty(const QQmlProperty &property)
bool reverseEvent() const
QObject * specifiedObject() const
const QQmlProperty & property() const
void setValue(const QVariant &value)
const QString & specifiedProperty() const
QQmlAnyBinding binding() const
void setBinding(QQmlAnyBinding binding)
QQuickSimpleAction(const QQuickSimpleAction &other)
QQuickSimpleAction(const QQuickStateAction &a, State state=StartState)
QQuickStateOperationPrivate()
void setState(QQuickState *state)
SimpleActionList revertList
static void operations_append(QQmlListProperty< QQuickStateOperation > *prop, QQuickStateOperation *op)
static qsizetype operations_count(QQmlListProperty< QQuickStateOperation > *prop)
static void operations_clear(QQmlListProperty< QQuickStateOperation > *prop)
static QQuickStateOperation * operations_at(QQmlListProperty< QQuickStateOperation > *prop, qsizetype index)
QQuickTransitionManager transitionManager
QList< QQuickRevertAction > reverting
static void operations_removeLast(QQmlListProperty< QQuickStateOperation > *prop)
QQuickStateOperation::ActionList generateActionList() const
QList< OperationGuard > operations
static void operations_replace(QQmlListProperty< QQuickStateOperation > *prop, qsizetype index, QQuickStateOperation *op)
QList< QQuickSimpleAction > SimpleActionList
\macro QT_RESTRICTED_CAST_FROM_ASCII
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLboolean GLboolean GLboolean GLboolean a
[7]
QList< OperationGuard > * list
OperationGuard(QObject *obj, QList< OperationGuard > *l)