24 #ifndef QSCRIPTDECLARATIVECLASS_P_H 25 #define QSCRIPTDECLARATIVECLASS_P_H 38 #include <QtCore/qobjectdefs.h> 39 #include <QtScript/qscriptvalue.h> 40 #include <QtScript/qscriptclass.h> 45 class PersistentIdentifierPrivate;
50 #define QT_HAVE_QSCRIPTDECLARATIVECLASS_VALUE 88 static QScriptValue
property(
const QScriptValue &,
const Identifier &);
89 static Value functionValue(
const QScriptValue &,
const Identifier &);
90 static Value propertyValue(
const QScriptValue &,
const Identifier &);
95 static QScriptValue newStaticScopeObject(
134 QScriptClass::QueryFlags flags);
The QVariant class acts like a union for the most common Qt data types.
The QScriptContext class represents a Qt Script function invocation.
virtual Value call(Object *, QScriptContext *)
#define QT_END_NAMESPACE
This macro expands to.
bool startsWithUpper(const Identifier &)
virtual ~QScriptDeclarativeClass()
virtual QVariant toVariant(Object *, bool *ok=0)
QScopedPointer< QScriptDeclarativeClassPrivate > d_ptr
PersistentIdentifier(QScriptEnginePrivate *e)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
PersistentIdentifier createPersistentIdentifier(const QString &)
The QScriptDeclarativeClass::Value class acts as a container for JavaScript data types.
virtual void setProperty(Object *, const Identifier &name, const QScriptValue &)
static QString toString(Register *reg, int type, bool *ok=0)
The QScriptEngine class provides an environment for evaluating Qt Script code.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool compare(const QVariant::Private *a, const QVariant::Private *b)
Compares a to b.
virtual QScriptClass::QueryFlags queryProperty(Object *, const Identifier &, QScriptClass::QueryFlags flags)
QScriptEnginePrivate * engine
virtual QScriptValue::PropertyFlags propertyFlags(Object *, const Identifier &)
QScriptEngine * engine() const
The QStringList class provides a list of strings.
void setSupportsCall(bool)
quint32 toArrayIndex(const Identifier &, bool *ok)
bool supportsCall() const
virtual QObject * toQObject(Object *, bool *ok=0)
virtual bool isQObject() const
QScriptDeclarativeClass(QScriptEngine *engine)
QScriptContext * context() const
The QScriptValue class acts as a container for the Qt Script data types.
virtual QStringList propertyNames(Object *)