QScriptClass Class Reference

#include <qscriptclass.h>

Class Description

Definition at line 43 of file qscriptclass.h.

Public Types

enum  QueryFlag { HandlesReadAccess = 0x01, HandlesWriteAccess = 0x02 }
 
enum  Extension { Callable, HasInstance }
 

Public Member Functions

 QScriptClass (QScriptEngine *engine)
 
virtual ~QScriptClass ()
 
QScriptEngineengine () const
 
virtual QueryFlags queryProperty (const QScriptValue &object, const QScriptString &name, QueryFlags flags, uint *id)
 
virtual QScriptValue property (const QScriptValue &object, const QScriptString &name, uint id)
 
virtual void setProperty (QScriptValue &object, const QScriptString &name, uint id, const QScriptValue &value)
 
virtual QScriptValue::PropertyFlags propertyFlags (const QScriptValue &object, const QScriptString &name, uint id)
 
virtual QScriptClassPropertyIteratornewIterator (const QScriptValue &object)
 
virtual QScriptValue prototype () const
 
virtual QString name () const
 
virtual bool supportsExtension (Extension extension) const
 
virtual QVariant extension (Extension extension, const QVariant &argument=QVariant())
 

Protected Member Functions

 QScriptClass (QScriptEngine *engine, QScriptClassPrivate &dd)
 

Protected Attributes

QScopedPointer< QScriptClassPrivate > d_ptr
 

Member Enumeration Documentation

enum QueryFlag
Enumerator
HandlesReadAccess 
HandlesWriteAccess 

Definition at line 46 of file qscriptclass.h.

enum Extension
Enumerator
Callable 
HasInstance 

Definition at line 52 of file qscriptclass.h.

Constructor & Destructor Documentation

QScriptClass ( QScriptEngine engine)
virtual ~QScriptClass ( )
virtual
QScriptClass ( QScriptEngine engine,
QScriptClassPrivate &  dd 
)
protected

Member Function Documentation

QScriptEngine* engine ( ) const
virtual QueryFlags queryProperty ( const QScriptValue object,
const QScriptString name,
QueryFlags  flags,
uint *  id 
)
virtual
virtual QScriptValue property ( const QScriptValue object,
const QScriptString name,
uint  id 
)
virtual
virtual void setProperty ( QScriptValue object,
const QScriptString name,
uint  id,
const QScriptValue value 
)
virtual
virtual QScriptValue::PropertyFlags propertyFlags ( const QScriptValue object,
const QScriptString name,
uint  id 
)
virtual
virtual QScriptClassPropertyIterator* newIterator ( const QScriptValue object)
virtual
virtual QScriptValue prototype ( ) const
virtual
virtual QString name ( ) const
virtual
virtual bool supportsExtension ( Extension  extension) const
virtual
virtual QVariant extension ( Extension  extension,
const QVariant argument = QVariant() 
)
virtual

Member Data Documentation

QScopedPointer<QScriptClassPrivate> d_ptr
protected

Definition at line 87 of file qscriptclass.h.


The documentation for this class was generated from the following file: