24 #ifndef QSCRIPTCLASS_H 25 #define QSCRIPTCLASS_H 27 #include <QtCore/qstring.h> 29 #include <QtCore/qvariant.h> 30 #include <QtCore/qscopedpointer.h> 31 #include <QtScript/qscriptvalue.h> 47 HandlesReadAccess = 0x01,
48 HandlesWriteAccess = 0x02
62 virtual QueryFlags queryProperty(
const QScriptValue &
object,
64 QueryFlags flags,
uint *
id);
81 virtual bool supportsExtension(
Extension extension)
const;
The QVariant class acts like a union for the most common Qt data types.
Extension
This enum specifies the possible extensions to a QScriptClass.
#define QT_END_NAMESPACE
This macro expands to.
The QScriptClass class provides an interface for defining custom behavior of (a class of) Qt Script o...
QueryFlag
This enum describes flags that are used to query a QScriptClass regarding how access to a property sh...
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
The QScriptString class acts as a handle to "interned" strings in a QScriptEngine.
The QScriptEngine class provides an environment for evaluating Qt Script code.
#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...
The QScriptClassPropertyIterator class provides an iterator interface for custom Qt Script objects...
static QByteArray prototype(const QList< QByteArray > ¶meterTypes, const QList< QByteArray > ¶meterNames, bool *ok)
#define Q_DECLARE_PRIVATE(Class)
The QScriptValue class acts as a container for the Qt Script data types.
QScopedPointer< QScriptClassPrivate > d_ptr