45 #include <QtScript/qscriptcontextinfo.h> 46 #include <QtCore/qdatastream.h> 216 return d->result.toInt();
222 return d->result.toLongLong();
228 return d->result.toString();
303 return ((
d->error == od->
error)
305 && (
d->async == od->
async));
314 return !(*
this == other);
The QVariant class acts like a union for the most common Qt data types.
QScriptBreakpointMap resultAsBreakpoints() const
static mach_timebase_info_data_t info
#define QT_END_NAMESPACE
This macro expands to.
Error error() const
Returns the error code of this response.
QScriptScriptData resultAsScriptData() const
QScriptDebuggerValue resultAsScriptValue() const
T * data() const
Returns the value of the pointer referenced by this object.
The QScriptDebuggerResponse class represents a front-end's response to a QScriptDebuggerCommand.
QScriptDebuggerValuePropertyList resultAsScriptValuePropertyList() const
QScriptContextInfo resultAsContextInfo() const
QScriptDebuggerResponsePrivate()
The QString class provides a Unicode character string.
QScopedPointer< QScriptDebuggerResponsePrivate > d_ptr
QString resultAsString() const
QScriptDebuggerResponse()
QScriptDebuggerResponse & operator=(const QScriptDebuggerResponse &other)
The QScriptScriptData class holds data associated with a script.
QScriptScriptMap resultAsScripts() const
QScriptBreakpointData resultAsBreakpointData() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
qint64 resultAsLongLong() const
QScriptDebuggerResponse::Error error
void setError(Error error)
Sets the error code of this response.
~QScriptDebuggerResponse()
static const char * data(const QByteArray &arr)
The QScriptBreakpointData class contains data associated with a breakpoint.
static QVariant fromValue(const T &value)
Returns a QVariant containing a copy of value.
bool operator!=(const QScriptDebuggerResponse &other) const
Returns true if this QScriptDebuggerResponse is not equal to the other response, otherwise returns fa...
bool operator==(const QScriptDebuggerResponse &other) const
Returns true if this QScriptDebuggerResponse is equal to the other response, otherwise returns false...
friend Q_AUTOTEST_EXPORT QDataStream & operator<<(QDataStream &, const QScriptDebuggerResponse &)
Writes the given response to the specified stream.
The QScriptDebuggerValue class represents a script value.
QScriptDebuggerValueList resultAsScriptValueList() const
The QScriptContextInfo class provides additional information about a QScriptContext.
void setResult(const QVariant &value)
Sets the Result attribute of this response to the given value.
T qvariant_cast(const QVariant &)
void setAsync(bool async)
The QDataStream class provides serialization of binary data to a QIODevice.
friend Q_AUTOTEST_EXPORT QDataStream & operator>>(QDataStream &, QScriptDebuggerResponse &)
Reads a QScriptDebuggerResponse from the specified stream into the given response.
QVariant result() const
Returns the result of this response.
The QList class is a template class that provides lists.
~QScriptDebuggerResponsePrivate()