Qt 4.8
Public Functions | Properties | List of all members
QScriptCompleteExpressionJob Class Reference
Inheritance diagram for QScriptCompleteExpressionJob:
QScriptDebuggerCommandSchedulerJob QScriptDebuggerJob QScriptDebuggerResponseHandlerInterface

Public Functions

void handleResponse (const QScriptDebuggerResponse &response, int)
 
 QScriptCompleteExpressionJob (int frameIndex, const QStringList &path, QScriptCompletionTaskPrivate *task, QScriptDebuggerCommandSchedulerInterface *scheduler)
 
void start ()
 
- Public Functions inherited from QScriptDebuggerCommandSchedulerJob
QScriptDebuggerCommandSchedulerInterfacecommandScheduler () const
 
 QScriptDebuggerCommandSchedulerJob (QScriptDebuggerCommandSchedulerInterface *commandScheduler)
 
 ~QScriptDebuggerCommandSchedulerJob ()
 
- Public Functions inherited from QScriptDebuggerJob
virtual void evaluateFinished (const QScriptDebuggerValue &result)
 
void finish ()
 
void hibernateUntilEvaluateFinished ()
 
 QScriptDebuggerJob ()
 
virtual ~QScriptDebuggerJob ()
 
- Public Functions inherited from QScriptDebuggerResponseHandlerInterface
virtual ~QScriptDebuggerResponseHandlerInterface ()
 

Properties

int m_frameIndex
 
QStringList m_path
 
QScriptCompletionTaskPrivatem_task
 

Additional Inherited Members

- Protected Functions inherited from QScriptDebuggerCommandSchedulerJob
 QScriptDebuggerCommandSchedulerJob (QScriptDebuggerCommandSchedulerJobPrivate &dd, QScriptDebuggerCommandSchedulerInterface *commandScheduler)
 
- Protected Functions inherited from QScriptDebuggerJob
 QScriptDebuggerJob (QScriptDebuggerJobPrivate &dd)
 
- Protected Variables inherited from QScriptDebuggerJob
QScopedPointer< QScriptDebuggerJobPrivated_ptr
 

Detailed Description

Definition at line 88 of file qscriptcompletiontask.cpp.

Constructors and Destructors

◆ QScriptCompleteExpressionJob()

QScriptCompleteExpressionJob::QScriptCompleteExpressionJob ( int  frameIndex,
const QStringList path,
QScriptCompletionTaskPrivate task,
QScriptDebuggerCommandSchedulerInterface scheduler 
)
inline

Definition at line 91 of file qscriptcompletiontask.cpp.

95  m_frameIndex(frameIndex), m_path(path), m_task(task)
96  {}
QScriptDebuggerCommandSchedulerJob(QScriptDebuggerCommandSchedulerInterface *commandScheduler)
QScriptCompletionTaskPrivate * m_task

Functions

◆ handleResponse()

void QScriptCompleteExpressionJob::handleResponse ( const QScriptDebuggerResponse response,
int   
)
inlinevirtual

Implements QScriptDebuggerResponseHandlerInterface.

Definition at line 103 of file qscriptcompletiontask.cpp.

104  {
105  m_task->results = response.result().toStringList();
106  m_task->emitFinished();
107  finish();
108  }
QStringList toStringList() const
Returns the variant as a QStringList if the variant has type() StringList, String ...
Definition: qvariant.cpp:2259
QScriptCompletionTaskPrivate * m_task
QVariant result() const
Returns the result of this response.

◆ start()

void QScriptCompleteExpressionJob::start ( )
inlinevirtual

Properties

◆ m_frameIndex

int QScriptCompleteExpressionJob::m_frameIndex
private

Definition at line 111 of file qscriptcompletiontask.cpp.

◆ m_path

QStringList QScriptCompleteExpressionJob::m_path
private

Definition at line 112 of file qscriptcompletiontask.cpp.

◆ m_task

QScriptCompletionTaskPrivate* QScriptCompleteExpressionJob::m_task
private

Definition at line 113 of file qscriptcompletiontask.cpp.


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