Qt 4.8
|
#include <qscriptdebuggerevent_p.h>
Public Types | |
enum | Attribute { ScriptID, FileName, BreakpointID, LineNumber, ColumnNumber, Value, Message, IsNestedEvaluate, HasExceptionHandler, UserAttribute = 1000, MaxUserAttribute = 32767 } |
enum | Type { None, Interrupted, SteppingFinished, LocationReached, Breakpoint, Exception, Trace, InlineEvalFinished, DebuggerInvocationRequest, ForcedReturn, UserEvent = 1000, MaxUserEvent = 32767 } |
Properties | |
QScopedPointer< QScriptDebuggerEventPrivate > | d_ptr |
Friends | |
Q_AUTOTEST_EXPORT QDataStream & | operator<< (QDataStream &, const QScriptDebuggerEvent &) |
Writes the given event to the specified stream. More... | |
Q_AUTOTEST_EXPORT QDataStream & | operator>> (QDataStream &, QScriptDebuggerEvent &) |
Reads a QScriptDebuggerEvent from the specified stream into the given event. More... | |
Definition at line 68 of file qscriptdebuggerevent_p.h.
Enumerator | |
---|---|
ScriptID | |
FileName | |
BreakpointID | |
LineNumber | |
ColumnNumber | |
Value | |
Message | |
IsNestedEvaluate | |
HasExceptionHandler | |
UserAttribute | |
MaxUserAttribute |
Definition at line 89 of file qscriptdebuggerevent_p.h.
Enumerator | |
---|---|
None | |
Interrupted | |
SteppingFinished | |
LocationReached | |
Breakpoint | |
Exception | |
Trace | |
InlineEvalFinished | |
DebuggerInvocationRequest | |
ForcedReturn | |
UserEvent | |
MaxUserEvent |
Definition at line 74 of file qscriptdebuggerevent_p.h.
QScriptDebuggerEvent::QScriptDebuggerEvent | ( | ) |
Definition at line 71 of file qscriptdebuggerevent.cpp.
QScriptDebuggerEvent::QScriptDebuggerEvent | ( | Type | type | ) |
Definition at line 77 of file qscriptdebuggerevent.cpp.
QScriptDebuggerEvent::QScriptDebuggerEvent | ( | Type | type, |
qint64 | scriptId, | ||
int | lineNumber, | ||
int | columnNumber | ||
) |
Definition at line 83 of file qscriptdebuggerevent.cpp.
QScriptDebuggerEvent::QScriptDebuggerEvent | ( | const QScriptDebuggerEvent & | other | ) |
Definition at line 93 of file qscriptdebuggerevent.cpp.
QScriptDebuggerEvent::~QScriptDebuggerEvent | ( | ) |
Definition at line 99 of file qscriptdebuggerevent.cpp.
QVariant QScriptDebuggerEvent::attribute | ( | Attribute | attribute, |
const QVariant & | defaultValue = QVariant() |
||
) | const |
Definition at line 115 of file qscriptdebuggerevent.cpp.
Referenced by setAttribute().
QHash< QScriptDebuggerEvent::Attribute, QVariant > QScriptDebuggerEvent::attributes | ( | ) | const |
Definition at line 132 of file qscriptdebuggerevent.cpp.
int QScriptDebuggerEvent::breakpointId | ( | ) | const |
Definition at line 186 of file qscriptdebuggerevent.cpp.
int QScriptDebuggerEvent::columnNumber | ( | ) | const |
Definition at line 174 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerEvent(), and setColumnNumber().
QString QScriptDebuggerEvent::fileName | ( | ) | const |
Definition at line 150 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent(), and setFileName().
bool QScriptDebuggerEvent::hasExceptionHandler | ( | ) | const |
Definition at line 240 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent().
bool QScriptDebuggerEvent::isNestedEvaluate | ( | ) | const |
Definition at line 228 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent().
int QScriptDebuggerEvent::lineNumber | ( | ) | const |
Definition at line 162 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent(), QScriptDebuggerEvent(), and setLineNumber().
QString QScriptDebuggerEvent::message | ( | ) | const |
Definition at line 198 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent(), and setMessage().
bool QScriptDebuggerEvent::operator!= | ( | const QScriptDebuggerEvent & | other | ) | const |
Returns true if this QScriptDebuggerEvent is not equal to the other event, otherwise returns false.
Definition at line 266 of file qscriptdebuggerevent.cpp.
QScriptDebuggerEvent & QScriptDebuggerEvent::operator= | ( | const QScriptDebuggerEvent & | other | ) |
Definition at line 103 of file qscriptdebuggerevent.cpp.
bool QScriptDebuggerEvent::operator== | ( | const QScriptDebuggerEvent & | other | ) | const |
Returns true if this QScriptDebuggerEvent is equal to the other event, otherwise returns false.
Definition at line 250 of file qscriptdebuggerevent.cpp.
qint64 QScriptDebuggerEvent::scriptId | ( | ) | const |
Definition at line 138 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent(), and QScriptDebuggerEvent().
QScriptDebuggerValue QScriptDebuggerEvent::scriptValue | ( | ) | const |
Definition at line 210 of file qscriptdebuggerevent.cpp.
Definition at line 122 of file qscriptdebuggerevent.cpp.
void QScriptDebuggerEvent::setBreakpointId | ( | int | id | ) |
Definition at line 192 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackendPrivate::breakpoint().
void QScriptDebuggerEvent::setColumnNumber | ( | int | columnNumber | ) |
Definition at line 180 of file qscriptdebuggerevent.cpp.
void QScriptDebuggerEvent::setFileName | ( | const QString & | fileName | ) |
Definition at line 156 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackendPrivate::breakpoint(), QScriptDebuggerBackendPrivate::debuggerInvocationRequest(), QScriptDebuggerBackendPrivate::exception(), QScriptDebuggerBackendPrivate::forcedReturn(), QScriptDebuggerBackendPrivate::interrupted(), QScriptDebuggerBackendPrivate::locationReached(), and QScriptDebuggerBackendPrivate::stepped().
void QScriptDebuggerEvent::setHasExceptionHandler | ( | bool | hasHandler | ) |
Definition at line 234 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackendPrivate::exception().
void QScriptDebuggerEvent::setLineNumber | ( | int | lineNumber | ) |
Definition at line 168 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackendPrivate::exception().
void QScriptDebuggerEvent::setMessage | ( | const QString & | message | ) |
Definition at line 204 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackend::doPendingEvaluate(), QScriptDebuggerBackendPrivate::exception(), QScriptDebuggerBackendPrivate::stepped(), and QScriptDebuggerBackendPrivate::trace().
void QScriptDebuggerEvent::setNestedEvaluate | ( | bool | nested | ) |
Definition at line 222 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackend::doPendingEvaluate().
void QScriptDebuggerEvent::setScriptId | ( | qint64 | id | ) |
Definition at line 144 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackendPrivate::exception().
void QScriptDebuggerEvent::setScriptValue | ( | const QScriptDebuggerValue & | value | ) |
Definition at line 216 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerBackend::doPendingEvaluate(), QScriptDebuggerBackendPrivate::exception(), QScriptDebuggerBackendPrivate::forcedReturn(), and QScriptDebuggerBackendPrivate::stepped().
QScriptDebuggerEvent::Type QScriptDebuggerEvent::type | ( | ) | const |
Definition at line 109 of file qscriptdebuggerevent.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent(), operator>>(), and QScriptDebuggerEvent().
|
friend |
Writes the given event to the specified stream.
Definition at line 280 of file qscriptdebuggerevent.cpp.
|
friend |
Reads a QScriptDebuggerEvent from the specified stream into the given event.
Definition at line 303 of file qscriptdebuggerevent.cpp.
|
private |
Definition at line 141 of file qscriptdebuggerevent_p.h.
Referenced by operator=(), and QScriptDebuggerEvent().