Qt 4.8
Public Functions | Properties | List of all members
QScript::TimeoutCheckerProxy Class Reference
Inheritance diagram for QScript::TimeoutCheckerProxy:

Public Functions

virtual bool didTimeOut (JSC::ExecState *exec)
 
void setShouldAbort (bool shouldAbort)
 
void setShouldProcessEvents (bool shouldProcess)
 
bool shouldAbort ()
 
 TimeoutCheckerProxy (const JSC::TimeoutChecker &originalChecker)
 

Properties

bool m_shouldAbortEvaluation
 
bool m_shouldProcessEvents
 

Detailed Description

Definition at line 507 of file qscriptengine.cpp.

Constructors and Destructors

◆ TimeoutCheckerProxy()

QScript::TimeoutCheckerProxy::TimeoutCheckerProxy ( const JSC::TimeoutChecker &  originalChecker)
inline

Definition at line 510 of file qscriptengine.cpp.

511  : JSC::TimeoutChecker(originalChecker)
512  , m_shouldProcessEvents(false)
513  , m_shouldAbortEvaluation(false)
514  {}

Functions

◆ didTimeOut()

virtual bool QScript::TimeoutCheckerProxy::didTimeOut ( JSC::ExecState *  exec)
inlinevirtual

Definition at line 520 of file qscriptengine.cpp.

521  {
522  if (JSC::TimeoutChecker::didTimeOut(exec))
523  return true;
524 
527 
529  }
static void processEvents(QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents)
Processes all pending events for the calling thread according to the specified flags until there are ...

◆ setShouldAbort()

void QScript::TimeoutCheckerProxy::setShouldAbort ( bool  shouldAbort)
inline

◆ setShouldProcessEvents()

void QScript::TimeoutCheckerProxy::setShouldProcessEvents ( bool  shouldProcess)
inline

Definition at line 516 of file qscriptengine.cpp.

516 { m_shouldProcessEvents = shouldProcess; }

◆ shouldAbort()

bool QScript::TimeoutCheckerProxy::shouldAbort ( )
inline

Definition at line 518 of file qscriptengine.cpp.

Referenced by QScriptEnginePrivate::evaluateHelper().

Properties

◆ m_shouldAbortEvaluation

bool QScript::TimeoutCheckerProxy::m_shouldAbortEvaluation
private

Definition at line 533 of file qscriptengine.cpp.

◆ m_shouldProcessEvents

bool QScript::TimeoutCheckerProxy::m_shouldProcessEvents
private

Definition at line 532 of file qscriptengine.cpp.


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