Qt 4.8
Public Functions | Public Variables | List of all members
QScriptEngineDebuggerFrontendPrivate Class Reference
Inheritance diagram for QScriptEngineDebuggerFrontendPrivate:
QScriptDebuggerFrontendPrivate

Public Functions

bool event (QEvent *e)
 Reimplemented Function More...
 
void postCommandFinished (int id, const QScriptDebuggerResponse &response)
 
 QScriptEngineDebuggerFrontendPrivate ()
 
 ~QScriptEngineDebuggerFrontendPrivate ()
 
- Public Functions inherited from QScriptDebuggerFrontendPrivate
void postEvent (QEvent *e)
 
void processCommands ()
 
 QScriptDebuggerFrontendPrivate ()
 
virtual ~QScriptDebuggerFrontendPrivate ()
 

Public Variables

QScriptEngineDebuggerBackendbackend
 
- Public Variables inherited from QScriptDebuggerFrontendPrivate
QScriptDebuggerEventHandlerInterfaceeventHandler
 
QObjecteventReceiver
 
int nextCommandId
 
QList< int > pendingCommandIds
 
QList< QScriptDebuggerCommandpendingCommands
 
QScriptDebuggerFrontendq_ptr
 
QHash< int, QScriptDebuggerResponseHandlerInterface * > responseHandlers
 

Detailed Description

Definition at line 136 of file qscriptenginedebuggerfrontend.cpp.

Constructors and Destructors

◆ QScriptEngineDebuggerFrontendPrivate()

QScriptEngineDebuggerFrontendPrivate::QScriptEngineDebuggerFrontendPrivate ( )

Definition at line 254 of file qscriptenginedebuggerfrontend.cpp.

255 {
256  backend = 0;
257 }

◆ ~QScriptEngineDebuggerFrontendPrivate()

QScriptEngineDebuggerFrontendPrivate::~QScriptEngineDebuggerFrontendPrivate ( )

Definition at line 259 of file qscriptenginedebuggerfrontend.cpp.

260 {
261  delete backend;
262 }

Functions

◆ event()

bool QScriptEngineDebuggerFrontendPrivate::event ( QEvent e)
virtual

Reimplemented Function

Reimplemented from QScriptDebuggerFrontendPrivate.

Definition at line 273 of file qscriptenginedebuggerfrontend.cpp.

274 {
276  if (e->type() == QEvent::User+4) {
278  q->notifyCommandFinished(fe->id(), fe->response());
279  return true;
280  }
282 }
#define Q_Q(Class)
Definition: qglobal.h:2483
const QScriptDebuggerResponse & response() const
The QScriptEngineDebuggerFrontend class provides an in-process debugger frontend. ...
Type type() const
Returns the event type.
Definition: qcoreevent.h:303

◆ postCommandFinished()

void QScriptEngineDebuggerFrontendPrivate::postCommandFinished ( int  id,
const QScriptDebuggerResponse response 
)

Properties

◆ backend

QScriptEngineDebuggerBackend* QScriptEngineDebuggerFrontendPrivate::backend

Definition at line 147 of file qscriptenginedebuggerfrontend.cpp.


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