Qt 4.8
Public Slots | Public Functions | List of all members
QScriptDebuggerConsoleGlobalObject Class Reference

#include <qscriptdebuggerconsoleglobalobject_p.h>

Inheritance diagram for QScriptDebuggerConsoleGlobalObject:
QObject

Public Slots

bool checkSyntax (const QString &program)
 
void error (const QString &text, const QString &fileName=QString(), int lineNumber=-1, int columnNumber=-1)
 
QScriptDebuggerConsoleCommandfindCommand (const QString &command) const
 
QStringList getCommandCompletions (const QString &prefix) const
 
QScriptDebuggerConsoleCommandGroupMap getCommandGroups () const
 
QScriptDebuggerConsoleCommandList getCommandsInGroup (const QString &name) const
 
int getCurrentFrameIndex () const
 
int getCurrentLineNumber () const
 
qint64 getCurrentScriptId () const
 
qint64 getSessionId () const
 
void message (const QString &text, const QString &fileName=QString(), int lineNumber=-1, int columnNumber=-1)
 
int scheduleClearExceptions ()
 
int scheduleCommand (const QScriptDebuggerCommand &command)
 
int scheduleContinue ()
 
int scheduleDeleteAllBreakpoints ()
 
int scheduleDeleteBreakpoint (int id)
 
int scheduleDeleteScriptValueIterator (int id)
 
int scheduleEvaluate (int contextIndex, const QString &program, const QString &fileName=QString(), int lineNumber=1)
 
int scheduleForceReturn (int contextIndex, const QScriptDebuggerValue &value)
 
int scheduleGetActivationObject (int contextIndex)
 
int scheduleGetBacktrace ()
 
int scheduleGetBreakpointData (int id)
 
int scheduleGetBreakpoints ()
 
int scheduleGetContextCount ()
 
int scheduleGetContextInfo (int contextIndex)
 
int scheduleGetPropertiesByIterator (int id, int count)
 
int scheduleGetScriptData (qint64 id)
 
int scheduleGetScripts ()
 
int scheduleGetScriptsDelta ()
 
int scheduleGetThisObject (int contextIndex)
 
int scheduleInterrupt ()
 
int scheduleNewScriptValueIterator (const QScriptDebuggerValue &object)
 
int scheduleResolveScript (const QString &fileName)
 
int scheduleRunToLocation (const QString &fileName, int lineNumber)
 
int scheduleRunToLocation (qint64 scriptId, int lineNumber)
 
int scheduleScriptsCheckpoint ()
 
int scheduleScriptValueToString (const QScriptDebuggerValue &value)
 
int scheduleSetBreakpoint (const QScriptBreakpointData &data)
 
int scheduleSetBreakpointData (int id, const QScriptBreakpointData &data)
 
int scheduleStepInto (int count=1)
 
int scheduleStepOut ()
 
int scheduleStepOver (int count=1)
 
void setCurrentFrameIndex (int index)
 
void setCurrentLineNumber (int lineNumber)
 
void setCurrentScriptId (qint64 id)
 
void setEvaluateAction (int action)
 
void warning (const QString &text, const QString &fileName=QString(), int lineNumber=-1, int columnNumber=-1)
 
- Public Slots inherited from QObject
void deleteLater ()
 Schedules this object for deletion. More...
 

Public Functions

QScriptDebuggerConsoleconsole () const
 
QScriptMessageHandlerInterfacemessageHandler () const
 
 QScriptDebuggerConsoleGlobalObject (QObject *parent=0)
 
QScriptDebuggerResponseHandlerInterfaceresponseHandler () const
 
QScriptDebuggerCommandSchedulerInterfacescheduler () const
 
void setConsole (QScriptDebuggerConsole *console)
 
void setMessageHandler (QScriptMessageHandlerInterface *messageHandler)
 
void setResponseHandler (QScriptDebuggerResponseHandlerInterface *responseHandler)
 
void setScheduler (QScriptDebuggerCommandSchedulerInterface *scheduler)
 
 ~QScriptDebuggerConsoleGlobalObject ()
 
- Public Functions inherited from QObject
bool blockSignals (bool b)
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More...
 
const QObjectListchildren () const
 Returns a list of child objects. More...
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectInfo ()
 Dumps information about signal connections, etc. More...
 
void dumpObjectTree ()
 Dumps a tree of children to the debug output. More...
 
QList< QByteArraydynamicPropertyNames () const
 Returns the names of all properties that were dynamically added to the object using setProperty(). More...
 
virtual bool event (QEvent *)
 This virtual function receives events to an object and should return true if the event e was recognized and processed. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Filters events if this object has been installed as an event filter for the watched object. More...
 
template<typename T >
findChild (const QString &aName=QString()) const
 Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More...
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More...
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More...
 
void installEventFilter (QObject *)
 Installs an event filter filterObj on this object. More...
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false. More...
 
void killTimer (int id)
 Kills the timer with timer identifier, id. More...
 
virtual const QMetaObjectmetaObject () const
 Returns a pointer to the meta-object of this object. More...
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children. More...
 
QString objectName () const
 
QObjectparent () const
 Returns a pointer to the parent object. More...
 
QVariant property (const char *name) const
 Returns the value of the object's name property. More...
 
Q_INVOKABLE QObject (QObject *parent=0)
 Constructs an object with parent object parent. More...
 
void removeEventFilter (QObject *)
 Removes an event filter object obj from this object. More...
 
void setObjectName (const QString &name)
 
void setParent (QObject *)
 Makes the object a child of parent. More...
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value. More...
 
void setUserData (uint id, QObjectUserData *data)
 
bool signalsBlocked () const
 Returns true if signals are blocked; otherwise returns false. More...
 
int startTimer (int interval)
 Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More...
 
QThreadthread () const
 Returns the thread in which the object lives. More...
 
QObjectUserDatauserData (uint id) const
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects. More...
 

Additional Inherited Members

- Signals inherited from QObject
void destroyed (QObject *=0)
 This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More...
 
- Static Public Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More...
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 Disconnects signal in object sender from method in object receiver. More...
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 
static QString tr (const char *sourceText, const char *comment=0, int n=-1)
 
static QString trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 
- Static Public Variables inherited from QObject
static const QMetaObject staticMetaObject
 This variable stores the meta-object for the class. More...
 
- Protected Functions inherited from QObject
virtual void childEvent (QChildEvent *)
 This event handler can be reimplemented in a subclass to receive child events. More...
 
virtual void connectNotify (const char *signal)
 This virtual function is called when something has been connected to signal in this object. More...
 
virtual void customEvent (QEvent *)
 This event handler can be reimplemented in a subclass to receive custom events. More...
 
virtual void disconnectNotify (const char *signal)
 This virtual function is called when something has been disconnected from signal in this object. More...
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal. More...
 
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More...
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *)
 This event handler can be reimplemented in a subclass to receive timer events for the object. More...
 
- Protected Variables inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Variables inherited from QObject
static const QMetaObject staticQtMetaObject
 

Detailed Description

Definition at line 74 of file qscriptdebuggerconsoleglobalobject_p.h.

Constructors and Destructors

◆ QScriptDebuggerConsoleGlobalObject()

QScriptDebuggerConsoleGlobalObject::QScriptDebuggerConsoleGlobalObject ( QObject parent = 0)

Definition at line 80 of file qscriptdebuggerconsoleglobalobject.cpp.

82 {
83 }
Q_INVOKABLE QObject(QObject *parent=0)
Constructs an object with parent object parent.
Definition: qobject.cpp:753

◆ ~QScriptDebuggerConsoleGlobalObject()

QScriptDebuggerConsoleGlobalObject::~QScriptDebuggerConsoleGlobalObject ( )

Definition at line 85 of file qscriptdebuggerconsoleglobalobject.cpp.

86 {
87 }

Functions

◆ checkSyntax

bool QScriptDebuggerConsoleGlobalObject::checkSyntax ( const QString program)
slot

Definition at line 452 of file qscriptdebuggerconsoleglobalobject.cpp.

453 {
454  return (QScriptEngine::checkSyntax(program).state() == QScriptSyntaxCheckResult::Valid);
455 }
static QScriptSyntaxCheckResult checkSyntax(const QString &program)
Checks the syntax of the given program.

◆ console()

QScriptDebuggerConsole * QScriptDebuggerConsoleGlobalObject::console ( ) const

Definition at line 126 of file qscriptdebuggerconsoleglobalobject.cpp.

Referenced by setConsole().

127 {
129  return d->console;
130 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ error

void QScriptDebuggerConsoleGlobalObject::error ( const QString text,
const QString fileName = QString(),
int  lineNumber = -1,
int  columnNumber = -1 
)
slot

Definition at line 377 of file qscriptdebuggerconsoleglobalobject.cpp.

380 {
382  Q_ASSERT(d->messageHandler != 0);
383  d->messageHandler->message(QtCriticalMsg, text, fileName, lineNumber, columnNumber);
384 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482

◆ findCommand

QScriptDebuggerConsoleCommand * QScriptDebuggerConsoleGlobalObject::findCommand ( const QString command) const
slot

Definition at line 434 of file qscriptdebuggerconsoleglobalobject.cpp.

435 {
437  return d->console->commandManager()->findCommand(name);
438 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
const char * name

◆ getCommandCompletions

QStringList QScriptDebuggerConsoleGlobalObject::getCommandCompletions ( const QString prefix) const
slot

Definition at line 446 of file qscriptdebuggerconsoleglobalobject.cpp.

447 {
449  return d->console->commandManager()->completions(prefix);
450 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ getCommandGroups

QScriptDebuggerConsoleCommandGroupMap QScriptDebuggerConsoleGlobalObject::getCommandGroups ( ) const
slot

Definition at line 428 of file qscriptdebuggerconsoleglobalobject.cpp.

429 {
431  return d->console->commandManager()->commandGroups();
432 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ getCommandsInGroup

QScriptDebuggerConsoleCommandList QScriptDebuggerConsoleGlobalObject::getCommandsInGroup ( const QString name) const
slot

Definition at line 440 of file qscriptdebuggerconsoleglobalobject.cpp.

441 {
443  return d->console->commandManager()->commandsInGroup(name);
444 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ getCurrentFrameIndex

int QScriptDebuggerConsoleGlobalObject::getCurrentFrameIndex ( ) const
slot

Definition at line 386 of file qscriptdebuggerconsoleglobalobject.cpp.

387 {
389  return d->console->currentFrameIndex();
390 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ getCurrentLineNumber

int QScriptDebuggerConsoleGlobalObject::getCurrentLineNumber ( ) const
slot

Definition at line 398 of file qscriptdebuggerconsoleglobalobject.cpp.

399 {
401  return d->console->currentLineNumber();
402 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ getCurrentScriptId

qint64 QScriptDebuggerConsoleGlobalObject::getCurrentScriptId ( ) const
slot

Definition at line 410 of file qscriptdebuggerconsoleglobalobject.cpp.

411 {
413  return d->console->currentScriptId();
414 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ getSessionId

qint64 QScriptDebuggerConsoleGlobalObject::getSessionId ( ) const
slot

Definition at line 422 of file qscriptdebuggerconsoleglobalobject.cpp.

423 {
425  return d->console->sessionId();
426 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ message

void QScriptDebuggerConsoleGlobalObject::message ( const QString text,
const QString fileName = QString(),
int  lineNumber = -1,
int  columnNumber = -1 
)
slot

Definition at line 368 of file qscriptdebuggerconsoleglobalobject.cpp.

371 {
373  Q_ASSERT(d->messageHandler != 0);
374  d->messageHandler->message(QtDebugMsg, text, fileName, lineNumber, columnNumber);
375 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482

◆ messageHandler()

QScriptMessageHandlerInterface * QScriptDebuggerConsoleGlobalObject::messageHandler ( ) const

Definition at line 114 of file qscriptdebuggerconsoleglobalobject.cpp.

Referenced by setMessageHandler().

115 {
117  return d->messageHandler;
118 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ responseHandler()

QScriptDebuggerResponseHandlerInterface * QScriptDebuggerConsoleGlobalObject::responseHandler ( ) const

Definition at line 101 of file qscriptdebuggerconsoleglobalobject.cpp.

Referenced by setResponseHandler().

102 {
104  return d->responseHandler;
105 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleClearExceptions

int QScriptDebuggerConsoleGlobalObject::scheduleClearExceptions ( )
slot

Definition at line 346 of file qscriptdebuggerconsoleglobalobject.cpp.

347 {
349  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
350  return frontend.scheduleClearExceptions();
351 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleCommand

int QScriptDebuggerConsoleGlobalObject::scheduleCommand ( const QScriptDebuggerCommand command)
slot

Definition at line 353 of file qscriptdebuggerconsoleglobalobject.cpp.

354 {
356  return d->scheduler->scheduleCommand(command, d->responseHandler);
357 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleContinue

int QScriptDebuggerConsoleGlobalObject::scheduleContinue ( )
slot

Definition at line 148 of file qscriptdebuggerconsoleglobalobject.cpp.

149 {
151  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
152  return frontend.scheduleContinue();
153 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleDeleteAllBreakpoints

int QScriptDebuggerConsoleGlobalObject::scheduleDeleteAllBreakpoints ( )
slot

Definition at line 211 of file qscriptdebuggerconsoleglobalobject.cpp.

212 {
214  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
215  return frontend.scheduleDeleteAllBreakpoints();
216 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleDeleteBreakpoint

int QScriptDebuggerConsoleGlobalObject::scheduleDeleteBreakpoint ( int  id)
slot

Definition at line 204 of file qscriptdebuggerconsoleglobalobject.cpp.

205 {
207  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
208  return frontend.scheduleDeleteBreakpoint(id);
209 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleDeleteScriptValueIterator

int QScriptDebuggerConsoleGlobalObject::scheduleDeleteScriptValueIterator ( int  id)
slot

Definition at line 323 of file qscriptdebuggerconsoleglobalobject.cpp.

324 {
326  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
327  return frontend.scheduleDeleteScriptValueIterator(id);
328 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleEvaluate

int QScriptDebuggerConsoleGlobalObject::scheduleEvaluate ( int  contextIndex,
const QString program,
const QString fileName = QString(),
int  lineNumber = 1 
)
slot

Definition at line 330 of file qscriptdebuggerconsoleglobalobject.cpp.

333 {
335  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
336  return frontend.scheduleEvaluate(contextIndex, program, fileName, lineNumber);
337 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleForceReturn

int QScriptDebuggerConsoleGlobalObject::scheduleForceReturn ( int  contextIndex,
const QScriptDebuggerValue value 
)
slot

Definition at line 190 of file qscriptdebuggerconsoleglobalobject.cpp.

191 {
193  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
194  return frontend.scheduleForceReturn(contextIndex, value);
195 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetActivationObject

int QScriptDebuggerConsoleGlobalObject::scheduleGetActivationObject ( int  contextIndex)
slot

Definition at line 288 of file qscriptdebuggerconsoleglobalobject.cpp.

289 {
291  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
292  return frontend.scheduleGetActivationObject(contextIndex);
293 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetBacktrace

int QScriptDebuggerConsoleGlobalObject::scheduleGetBacktrace ( )
slot

Definition at line 274 of file qscriptdebuggerconsoleglobalobject.cpp.

275 {
277  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
278  return frontend.scheduleGetBacktrace();
279 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetBreakpointData

int QScriptDebuggerConsoleGlobalObject::scheduleGetBreakpointData ( int  id)
slot

Definition at line 225 of file qscriptdebuggerconsoleglobalobject.cpp.

226 {
228  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
229  return frontend.scheduleGetBreakpointData(id);
230 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetBreakpoints

int QScriptDebuggerConsoleGlobalObject::scheduleGetBreakpoints ( )
slot

Definition at line 218 of file qscriptdebuggerconsoleglobalobject.cpp.

219 {
221  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
222  return frontend.scheduleGetBreakpoints();
223 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetContextCount

int QScriptDebuggerConsoleGlobalObject::scheduleGetContextCount ( )
slot

Definition at line 295 of file qscriptdebuggerconsoleglobalobject.cpp.

296 {
298  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
299  return frontend.scheduleGetContextCount();
300 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetContextInfo

int QScriptDebuggerConsoleGlobalObject::scheduleGetContextInfo ( int  contextIndex)
slot

Definition at line 302 of file qscriptdebuggerconsoleglobalobject.cpp.

303 {
305  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
306  return frontend.scheduleGetContextInfo(contextIndex);
307 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetPropertiesByIterator

int QScriptDebuggerConsoleGlobalObject::scheduleGetPropertiesByIterator ( int  id,
int  count 
)
slot

Definition at line 316 of file qscriptdebuggerconsoleglobalobject.cpp.

317 {
319  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
320  return frontend.scheduleGetPropertiesByIterator(id, count);
321 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetScriptData

int QScriptDebuggerConsoleGlobalObject::scheduleGetScriptData ( qint64  id)
slot

Definition at line 246 of file qscriptdebuggerconsoleglobalobject.cpp.

247 {
249  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
250  return frontend.scheduleGetScriptData(id);
251 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetScripts

int QScriptDebuggerConsoleGlobalObject::scheduleGetScripts ( )
slot

Definition at line 239 of file qscriptdebuggerconsoleglobalobject.cpp.

240 {
242  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
243  return frontend.scheduleGetScripts();
244 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetScriptsDelta

int QScriptDebuggerConsoleGlobalObject::scheduleGetScriptsDelta ( )
slot

Definition at line 260 of file qscriptdebuggerconsoleglobalobject.cpp.

261 {
263  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
264  return frontend.scheduleGetScriptsDelta();
265 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleGetThisObject

int QScriptDebuggerConsoleGlobalObject::scheduleGetThisObject ( int  contextIndex)
slot

Definition at line 281 of file qscriptdebuggerconsoleglobalobject.cpp.

282 {
284  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
285  return frontend.scheduleGetThisObject(contextIndex);
286 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleInterrupt

int QScriptDebuggerConsoleGlobalObject::scheduleInterrupt ( )
slot

Definition at line 141 of file qscriptdebuggerconsoleglobalobject.cpp.

142 {
144  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
145  return frontend.scheduleInterrupt();
146 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleNewScriptValueIterator

int QScriptDebuggerConsoleGlobalObject::scheduleNewScriptValueIterator ( const QScriptDebuggerValue object)
slot

Definition at line 309 of file qscriptdebuggerconsoleglobalobject.cpp.

310 {
312  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
313  return frontend.scheduleNewScriptValueIterator(object);
314 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduler()

QScriptDebuggerCommandSchedulerInterface * QScriptDebuggerConsoleGlobalObject::scheduler ( ) const

Definition at line 89 of file qscriptdebuggerconsoleglobalobject.cpp.

Referenced by setScheduler().

90 {
92  return d->scheduler;
93 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleResolveScript

int QScriptDebuggerConsoleGlobalObject::scheduleResolveScript ( const QString fileName)
slot

Definition at line 267 of file qscriptdebuggerconsoleglobalobject.cpp.

268 {
270  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
271  return frontend.scheduleResolveScript(fileName);
272 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleRunToLocation [1/2]

int QScriptDebuggerConsoleGlobalObject::scheduleRunToLocation ( const QString fileName,
int  lineNumber 
)
slot

Definition at line 176 of file qscriptdebuggerconsoleglobalobject.cpp.

177 {
179  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
180  return frontend.scheduleRunToLocation(fileName, lineNumber);
181 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleRunToLocation [2/2]

int QScriptDebuggerConsoleGlobalObject::scheduleRunToLocation ( qint64  scriptId,
int  lineNumber 
)
slot

Definition at line 183 of file qscriptdebuggerconsoleglobalobject.cpp.

184 {
186  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
187  return frontend.scheduleRunToLocation(scriptId, lineNumber);
188 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleScriptsCheckpoint

int QScriptDebuggerConsoleGlobalObject::scheduleScriptsCheckpoint ( )
slot

Definition at line 253 of file qscriptdebuggerconsoleglobalobject.cpp.

254 {
256  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
257  return frontend.scheduleScriptsCheckpoint();
258 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleScriptValueToString

int QScriptDebuggerConsoleGlobalObject::scheduleScriptValueToString ( const QScriptDebuggerValue value)
slot

Definition at line 339 of file qscriptdebuggerconsoleglobalobject.cpp.

340 {
342  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
343  return frontend.scheduleScriptValueToString(value);
344 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleSetBreakpoint

int QScriptDebuggerConsoleGlobalObject::scheduleSetBreakpoint ( const QScriptBreakpointData data)
slot

Definition at line 197 of file qscriptdebuggerconsoleglobalobject.cpp.

198 {
200  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
201  return frontend.scheduleSetBreakpoint(data);
202 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleSetBreakpointData

int QScriptDebuggerConsoleGlobalObject::scheduleSetBreakpointData ( int  id,
const QScriptBreakpointData data 
)
slot

Definition at line 232 of file qscriptdebuggerconsoleglobalobject.cpp.

233 {
235  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
236  return frontend.scheduleSetBreakpointData(id, data);
237 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleStepInto

int QScriptDebuggerConsoleGlobalObject::scheduleStepInto ( int  count = 1)
slot

Definition at line 155 of file qscriptdebuggerconsoleglobalobject.cpp.

156 {
158  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
159  return frontend.scheduleStepInto(count);
160 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleStepOut

int QScriptDebuggerConsoleGlobalObject::scheduleStepOut ( )
slot

Definition at line 169 of file qscriptdebuggerconsoleglobalobject.cpp.

170 {
172  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
173  return frontend.scheduleStepOut();
174 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ scheduleStepOver

int QScriptDebuggerConsoleGlobalObject::scheduleStepOver ( int  count = 1)
slot

Definition at line 162 of file qscriptdebuggerconsoleglobalobject.cpp.

163 {
165  QScriptDebuggerCommandSchedulerFrontend frontend(d->scheduler, d->responseHandler);
166  return frontend.scheduleStepOver(count);
167 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ setConsole()

void QScriptDebuggerConsoleGlobalObject::setConsole ( QScriptDebuggerConsole console)

◆ setCurrentFrameIndex

void QScriptDebuggerConsoleGlobalObject::setCurrentFrameIndex ( int  index)
slot

Definition at line 392 of file qscriptdebuggerconsoleglobalobject.cpp.

393 {
395  d->console->setCurrentFrameIndex(index);
396 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
quint16 index

◆ setCurrentLineNumber

void QScriptDebuggerConsoleGlobalObject::setCurrentLineNumber ( int  lineNumber)
slot

Definition at line 404 of file qscriptdebuggerconsoleglobalobject.cpp.

405 {
407  d->console->setCurrentLineNumber(lineNumber);
408 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ setCurrentScriptId

void QScriptDebuggerConsoleGlobalObject::setCurrentScriptId ( qint64  id)
slot

Definition at line 416 of file qscriptdebuggerconsoleglobalobject.cpp.

417 {
419  d->console->setCurrentScriptId(id);
420 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ setEvaluateAction

void QScriptDebuggerConsoleGlobalObject::setEvaluateAction ( int  action)
slot

Definition at line 457 of file qscriptdebuggerconsoleglobalobject.cpp.

458 {
460  d->console->setEvaluateAction(action);
461 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ setMessageHandler()

void QScriptDebuggerConsoleGlobalObject::setMessageHandler ( QScriptMessageHandlerInterface messageHandler)

◆ setResponseHandler()

void QScriptDebuggerConsoleGlobalObject::setResponseHandler ( QScriptDebuggerResponseHandlerInterface responseHandler)

◆ setScheduler()

void QScriptDebuggerConsoleGlobalObject::setScheduler ( QScriptDebuggerCommandSchedulerInterface scheduler)

◆ warning

void QScriptDebuggerConsoleGlobalObject::warning ( const QString text,
const QString fileName = QString(),
int  lineNumber = -1,
int  columnNumber = -1 
)
slot

Definition at line 359 of file qscriptdebuggerconsoleglobalobject.cpp.

362 {
364  Q_ASSERT(d->messageHandler != 0);
365  d->messageHandler->message(QtWarningMsg, text, fileName, lineNumber, columnNumber);
366 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482

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