Qt 4.8
Public Functions | Properties | List of all members
QScript::APIShim Class Reference

#include <qscriptengine_p.h>

Public Functions

 APIShim (QScriptEnginePrivate *engine)
 
 ~APIShim ()
 

Properties

QScriptEnginePrivatem_engine
 
JSC::IdentifierTable * m_oldTable
 

Detailed Description

Definition at line 409 of file qscriptengine_p.h.

Constructors and Destructors

◆ APIShim()

QScript::APIShim::APIShim ( QScriptEnginePrivate engine)
inline

Definition at line 412 of file qscriptengine_p.h.

413  : m_engine(engine), m_oldTable(JSC::setCurrentIdentifierTable(engine->globalData->identifierTable))
414  {
415  }
QScriptEnginePrivate * m_engine
JSC::IdentifierTable * m_oldTable
JSC::JSGlobalData * globalData

◆ ~APIShim()

QScript::APIShim::~APIShim ( )
inline

Definition at line 416 of file qscriptengine_p.h.

417  {
418  JSC::setCurrentIdentifierTable(m_oldTable);
419  }
JSC::IdentifierTable * m_oldTable

Properties

◆ m_engine

QScriptEnginePrivate* QScript::APIShim::m_engine
private

Definition at line 422 of file qscriptengine_p.h.

◆ m_oldTable

JSC::IdentifierTable* QScript::APIShim::m_oldTable
private

Definition at line 423 of file qscriptengine_p.h.


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