42 #ifndef QDECLARATIVESTATE_P_H 43 #define QDECLARATIVESTATE_P_H 56 #include "private/qdeclarativestate_p.h" 58 #include "private/qdeclarativeanimation_p_p.h" 59 #include "private/qdeclarativetransitionmanager_p_p.h" 61 #include <private/qdeclarativeproperty_p.h> 62 #include <private/qdeclarativeguard_p.h> 64 #include <private/qdeclarativebinding_p.h> 66 #include <private/qobject_p.h> 199 : when(0), named(false), inState(false), group(0) {}
210 setObject(static_cast<QDeclarativeStateOperation *>(obj));
227 QMutableListIterator<OperationGuard> listIterator(*list);
228 while(listIterator.hasNext())
229 listIterator.next()->setState(0);
234 return list->
count();
238 return list->
at(index);
255 #endif // QDECLARATIVESTATE_P_H The QVariant class acts like a union for the most common Qt data types.
void setValue(const QVariant &value)
QList< OperationGuard > operations
QDeclarativeProperty property
#define QT_END_NAMESPACE
This macro expands to.
QObject * specifiedObject() const
static Pointer getPointer(QDeclarativeAbstractBinding *p)
QDeclarativeProperty m_property
static QDeclarativeAbstractBinding * binding(QObject *, int coreIndex, int valueTypeIndex)
~QDeclarativeSimpleAction()
void setBinding(QDeclarativeAbstractBinding *binding)
long ASN1_INTEGER_get ASN1_INTEGER * a
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QDeclarativeStateOperationPrivate()
QString m_specifiedProperty
static void operations_clear(QDeclarativeListProperty< QDeclarativeStateOperation > *prop)
QDeclarativeTransitionManager transitionManager
bool removeOne(const T &t)
Removes the first occurrence of value in the list and returns true on success; otherwise returns fals...
QDeclarativeActionEvent * m_event
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool reverseEvent() const
void setProperty(const QDeclarativeProperty &property)
OperationGuard(QObject *obj, QList< OperationGuard > *l)
QDeclarativeSimpleAction(const QDeclarativeAction &a, State state=StartState)
void objectDestroyed(QDeclarativeStateOperation *)
void setState(QDeclarativeState *state)
const T & at(int i) const
Returns the item at index position i in the list.
QDeclarativeStatePrivate()
QDeclarativeAbstractBinding * binding() const
QWeakPointer< QDeclarativeAbstractBinding > toBinding
const QString & specifiedProperty() const
void clear()
Removes all items from the list.
The State element defines configurations of objects and properties.
QObject * m_specifiedObject
QDeclarativeSimpleAction(const QDeclarativeSimpleAction &other)
const QVariant & value() const
QDeclarativeBinding * when
#define Q_DECLARE_PUBLIC(Class)
static void operations_append(QDeclarativeListProperty< QDeclarativeStateOperation > *prop, QDeclarativeStateOperation *op)
QDeclarativeAbstractBinding::Pointer m_binding
QObject * specifiedObject
SimpleActionList revertList
QDeclarativeActionEvent * event() const
const QDeclarativeProperty & property() const
QList< OperationGuard > * list
The QDeclarativeProperty class abstracts accessing properties on objects created from QML...
QString specifiedProperty
QDeclarativeActionEvent * event
QList< QDeclarativeProperty > reverting
QDeclarativeSimpleAction & operator=(const QDeclarativeSimpleAction &other)
static QDeclarativeStateOperation * operations_at(QDeclarativeListProperty< QDeclarativeStateOperation > *prop, int index)
QList< QDeclarativeSimpleAction > SimpleActionList
QDeclarativeStateGroup * group
static int operations_count(QDeclarativeListProperty< QDeclarativeStateOperation > *prop)
QDeclarativeState * m_state