QtScript/qscriptengineagent.h Source File
Go to the documentation of this file.
24 #ifndef QSCRIPTENGINEAGENT_H
25 #define QSCRIPTENGINEAGENT_H
41 class QScriptEngineAgentPrivate;
46 DebuggerInvocationRequest
49 QScriptEngineAgent(QScriptEngine *engine);
50 virtual ~QScriptEngineAgent();
53 const QString &fileName,
int baseLineNumber);
54 virtual void scriptUnload(
qint64 id);
56 virtual void contextPush();
57 virtual void contextPop();
59 virtual void functionEntry(
qint64 scriptId);
60 virtual void functionExit(
qint64 scriptId,
61 const QScriptValue &returnValue);
63 virtual void positionChange(
qint64 scriptId,
64 int lineNumber,
int columnNumber);
66 virtual void exceptionThrow(
qint64 scriptId,
67 const QScriptValue &exception,
69 virtual void exceptionCatch(
qint64 scriptId,
70 const QScriptValue &exception);
72 virtual bool supportsExtension(Extension extension)
const;
73 virtual QVariant extension(Extension extension,
76 QScriptEngine *engine()
const;
79 QScriptEngineAgent(QScriptEngineAgentPrivate &dd, QScriptEngine *engine);
83 Q_DECLARE_PRIVATE(QScriptEngineAgent)
84 Q_DISABLE_COPY(QScriptEngineAgent)
QScopedPointer< QScriptEngineAgentPrivate > d_ptr
#define QT_BEGIN_NAMESPACE