42 #ifndef QDECLARATIVEEXPRESSION_P_H 43 #define QDECLARATIVEEXPRESSION_P_H 58 #include "private/qdeclarativeengine_p.h" 59 #include "private/qdeclarativeguard_p.h" 61 #include <QtScript/qscriptvalue.h> 98 if (!prevError)
return;
99 if (nextError) nextError->prevError = prevError;
100 *prevError = nextError;
132 bool notifyOnValueChange()
const;
133 void setNotifyOnValueChange(
bool);
134 void resetNotifyOnChange();
135 void setNotifyObject(
QObject *,
int );
137 void setEvaluateFlags(EvaluateFlags flags);
138 EvaluateFlags evaluateFlags()
const;
146 inline bool wasDeleted()
const;
193 return expr->q_func();
197 virtual void emitValueChanged();
213 : m_wasDeletedStorage(false), m_d(data)
233 #endif // QDECLARATIVEEXPRESSION_P_H The QVariant class acts like a union for the most common Qt data types.
QScriptValue expressionContext
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
QDeclarativeAbstractExpression()
DeleteWatcher(QDeclarativeQtScriptExpression *data)
QDeclarativeAbstractExpression ** m_prevExpression
The QByteArray class provides an array of bytes.
QDeclarativeQtScriptExpression * m_d
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QDeclarativeDelayedError()
static QObjectPrivate * get(QObject *o)
QScriptValue expressionFunction
QDeclarativeDelayedError * nextError
QDeclarativeRefCount * dataRef
The QScriptEngine class provides an environment for evaluating Qt Script code.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDeclarativeAbstractExpression * m_nextExpression
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
static const char * data(const QByteArray &arr)
The QDeclarativeError class encapsulates a QML error.
QDeclarativeContextData * m_context
QDeclarativeNotifierEndpoint * guardList
bool expressionFunctionValid
~QDeclarativeDelayedError()
#define Q_DECLARE_PUBLIC(Class)
Mode expressionFunctionMode
QDeclarativeDelayedError ** prevError
void setContext(QDeclarativeContextData *)
virtual ~QDeclarativeAbstractExpression()
QDeclarativeContextData * context() const
The QDeclarativeContext class defines a context within a QML engine.
static const QCssKnownValue properties[NumProperties - 1]
The QScriptProgram class encapsulates a Qt Script program.
The QDeclarativeExpression class evaluates JavaScript in a QML context.
The QScriptValue class acts as a container for the Qt Script data types.
int guardObjectNotifyIndex