QScriptEngineAgent Class Reference

#include <qscriptengineagent.h>

Class Description

Definition at line 42 of file qscriptengineagent.h.

Public Types

enum  Extension { DebuggerInvocationRequest }
 

Public Member Functions

 QScriptEngineAgent (QScriptEngine *engine)
 
virtual ~QScriptEngineAgent ()
 
virtual void scriptLoad (qint64 id, const QString &program, const QString &fileName, int baseLineNumber)
 
virtual void scriptUnload (qint64 id)
 
virtual void contextPush ()
 
virtual void contextPop ()
 
virtual void functionEntry (qint64 scriptId)
 
virtual void functionExit (qint64 scriptId, const QScriptValue &returnValue)
 
virtual void positionChange (qint64 scriptId, int lineNumber, int columnNumber)
 
virtual void exceptionThrow (qint64 scriptId, const QScriptValue &exception, bool hasHandler)
 
virtual void exceptionCatch (qint64 scriptId, const QScriptValue &exception)
 
virtual bool supportsExtension (Extension extension) const
 
virtual QVariant extension (Extension extension, const QVariant &argument=QVariant())
 
QScriptEngineengine () const
 

Protected Member Functions

 QScriptEngineAgent (QScriptEngineAgentPrivate &dd, QScriptEngine *engine)
 

Protected Attributes

QScopedPointer< QScriptEngineAgentPrivate > d_ptr
 

Member Enumeration Documentation

enum Extension
Enumerator
DebuggerInvocationRequest 

Definition at line 45 of file qscriptengineagent.h.

Constructor & Destructor Documentation

virtual ~QScriptEngineAgent ( )
virtual
QScriptEngineAgent ( QScriptEngineAgentPrivate &  dd,
QScriptEngine engine 
)
protected

Member Function Documentation

virtual void scriptLoad ( qint64  id,
const QString program,
const QString fileName,
int  baseLineNumber 
)
virtual
virtual void scriptUnload ( qint64  id)
virtual
virtual void contextPush ( )
virtual
virtual void contextPop ( )
virtual
virtual void functionEntry ( qint64  scriptId)
virtual
virtual void functionExit ( qint64  scriptId,
const QScriptValue returnValue 
)
virtual
virtual void positionChange ( qint64  scriptId,
int  lineNumber,
int  columnNumber 
)
virtual
virtual void exceptionThrow ( qint64  scriptId,
const QScriptValue exception,
bool  hasHandler 
)
virtual
virtual void exceptionCatch ( qint64  scriptId,
const QScriptValue exception 
)
virtual
virtual bool supportsExtension ( Extension  extension) const
virtual
virtual QVariant extension ( Extension  extension,
const QVariant argument = QVariant() 
)
virtual
QScriptEngine* engine ( ) const

Member Data Documentation

QScopedPointer<QScriptEngineAgentPrivate> d_ptr
protected

Definition at line 80 of file qscriptengineagent.h.


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