Qt 4.8
|
The QScriptScriptData class holds data associated with a script. More...
#include <qscriptscriptdata_p.h>
Public Functions | |
int | baseLineNumber () const |
QString | contents () const |
QString | fileName () const |
bool | isValid () const |
QStringList | lines (int startLineNumber, int count) const |
bool | operator!= (const QScriptScriptData &other) const |
QScriptScriptData & | operator= (const QScriptScriptData &other) |
bool | operator== (const QScriptScriptData &other) const |
QScriptScriptData () | |
QScriptScriptData (const QString &contents, const QString &fileName, int baseLineNumber, const QDateTime &timeStamp=QDateTime()) | |
QScriptScriptData (const QScriptScriptData &other) | |
QDateTime | timeStamp () const |
~QScriptScriptData () | |
Properties | |
QScopedSharedPointer< QScriptScriptDataPrivate > | d_ptr |
Friends | |
Q_AUTOTEST_EXPORT QDataStream & | operator<< (QDataStream &, const QScriptScriptData &) |
Q_AUTOTEST_EXPORT QDataStream & | operator>> (QDataStream &, QScriptScriptData &) |
The QScriptScriptData class holds data associated with a script.
Definition at line 68 of file qscriptscriptdata_p.h.
QScriptScriptData::QScriptScriptData | ( | ) |
Definition at line 84 of file qscriptscriptdata.cpp.
QScriptScriptData::QScriptScriptData | ( | const QString & | contents, |
const QString & | fileName, | ||
int | baseLineNumber, | ||
const QDateTime & | timeStamp = QDateTime() |
||
) |
Definition at line 89 of file qscriptscriptdata.cpp.
QScriptScriptData::QScriptScriptData | ( | const QScriptScriptData & | other | ) |
Definition at line 103 of file qscriptscriptdata.cpp.
QScriptScriptData::~QScriptScriptData | ( | ) |
Definition at line 110 of file qscriptscriptdata.cpp.
int QScriptScriptData::baseLineNumber | ( | ) | const |
Definition at line 145 of file qscriptscriptdata.cpp.
Referenced by QScriptDebuggerScriptsModel::data(), QScriptScriptData(), scriptDataToScriptValue(), and QScriptDebuggerCodeWidget::setCurrentScript().
QString QScriptScriptData::contents | ( | ) | const |
Definition at line 120 of file qscriptscriptdata.cpp.
Referenced by QScriptDebuggerScriptsModel::data(), QScriptScriptData(), scriptDataToScriptValue(), and QScriptDebuggerCodeWidget::setCurrentScript().
QString QScriptScriptData::fileName | ( | ) | const |
Definition at line 137 of file qscriptscriptdata.cpp.
Referenced by QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointEnableRequest(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointToggleRequest(), QScriptDebuggerPrivate::_q_toggleBreakpoint(), QScriptDebuggerBackendPrivate::breakpoint(), QScriptDebuggerScriptsModel::data(), QScriptDebuggerBackendPrivate::debuggerInvocationRequest(), QScriptDebuggerBackendPrivate::exception(), QScriptDebuggerBackendPrivate::forcedReturn(), QScriptDebuggerBackendPrivate::interrupted(), QScriptDebuggerBackendPrivate::locationReached(), QScriptScriptData(), QScriptDebuggerScriptsModel::resolveScript(), scriptDataToScriptValue(), QScriptDebuggerAgent::scriptUnload(), and QScriptDebuggerBackendPrivate::stepped().
bool QScriptScriptData::isValid | ( | ) | const |
Definition at line 161 of file qscriptscriptdata.cpp.
Referenced by QScriptDebuggerCommandExecutor::execute(), and QScriptDebuggerCodeWidget::setCurrentScript().
QStringList QScriptScriptData::lines | ( | int | startLineNumber, |
int | count | ||
) | const |
Definition at line 128 of file qscriptscriptdata.cpp.
Referenced by QScriptDebuggerShowLineJob::handleResponse().
bool QScriptScriptData::operator!= | ( | const QScriptScriptData & | other | ) | const |
Definition at line 180 of file qscriptscriptdata.cpp.
QScriptScriptData & QScriptScriptData::operator= | ( | const QScriptScriptData & | other | ) |
Definition at line 114 of file qscriptscriptdata.cpp.
bool QScriptScriptData::operator== | ( | const QScriptScriptData & | other | ) | const |
Definition at line 167 of file qscriptscriptdata.cpp.
QDateTime QScriptScriptData::timeStamp | ( | ) | const |
Definition at line 153 of file qscriptscriptdata.cpp.
|
friend |
Definition at line 185 of file qscriptscriptdata.cpp.
|
friend |
Definition at line 200 of file qscriptscriptdata.cpp.
|
private |
Definition at line 94 of file qscriptscriptdata_p.h.
Referenced by operator<<(), operator=(), operator>>(), and QScriptScriptData().