42 #ifndef QDECLARATIVEBINDING_P_H 43 #define QDECLARATIVEBINDING_P_H 60 #include "private/qdeclarativeproperty_p.h" 62 #include <QtCore/QObject> 63 #include <QtCore/QMetaProperty> 89 virtual void destroy(
DestroyMode mode = DisconnectBinding);
91 virtual QString expression()
const;
107 enum Type { PropertyBinding, ValueTypeProxy };
111 int propertyIndex()
const;
114 virtual void setEnabled(
bool, QDeclarativePropertyPrivate::WriteFlags) = 0;
117 virtual void update(QDeclarativePropertyPrivate::WriteFlags) = 0;
119 void addToObject(
QObject *,
int);
120 void removeFromObject();
129 Pointer weakPointer();
153 virtual void setEnabled(
bool, QDeclarativePropertyPrivate::WriteFlags);
154 virtual void update(QDeclarativePropertyPrivate::WriteFlags);
159 void removeBindings(
quint32 mask);
192 void setEvaluateFlags(EvaluateFlags flags);
193 EvaluateFlags evaluateFlags()
const;
198 virtual void setEnabled(
bool, QDeclarativePropertyPrivate::WriteFlags flags);
199 virtual void update(QDeclarativePropertyPrivate::WriteFlags flags);
200 virtual QString expression()
const;
212 void emitValueChanged();
224 #endif // QDECLARATIVEBINDING_P_H
virtual Type bindingType() const
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
static Pointer getPointer(QDeclarativeAbstractBinding *p)
static void clear(QVariant::Private *d)
virtual Type bindingType() const
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
static Identifier Invalid
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
QDeclarativeAbstractBinding * m_nextBinding
#define Q_DECLARATIVE_PRIVATE_EXPORT
QDeclarativeAbstractBinding * m_bindings
The QDeclarativeContext class defines a context within a QML engine.
The QDeclarativeProperty class abstracts accessing properties on objects created from QML...
QSharedPointer< QDeclarativeAbstractBinding > m_selfPointer
#define Q_DECLARE_PRIVATE(Class)
The QDeclarativeExpression class evaluates JavaScript in a QML context.
QDeclarativeAbstractBinding ** m_prevBinding
QWeakPointer< QDeclarativeAbstractBinding > Pointer
The QScriptValue class acts as a container for the Qt Script data types.
QDeclarativeAbstractBinding ** m_mePtr