diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-09-21 13:30:06 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-10-06 10:25:09 +0300 |
commit | 0b2087174304c8f1b741016ac1a264d32e193b7b (patch) | |
tree | a12c6442a540202b79200cdf960939364ffe173d /src/scxml/qscxmlecmascriptplatformproperties.cpp | |
parent | 1578e97123ed499b49c5ccfb74425a6f649e23ca (diff) |
Cleanup: enamed all "table" variables to "stateMachine".
Change-Id: I458da16ba900864d785eae97c0bc8ada890fd4ab
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/scxml/qscxmlecmascriptplatformproperties.cpp')
-rw-r--r-- | src/scxml/qscxmlecmascriptplatformproperties.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/scxml/qscxmlecmascriptplatformproperties.cpp b/src/scxml/qscxmlecmascriptplatformproperties.cpp index c41ea8c..e1eb42f 100644 --- a/src/scxml/qscxmlecmascriptplatformproperties.cpp +++ b/src/scxml/qscxmlecmascriptplatformproperties.cpp @@ -24,10 +24,10 @@ class QScxmlPlatformProperties::Data { public: Data() - : m_table(Q_NULLPTR) + : m_stateMachine(Q_NULLPTR) {} - QScxmlStateMachine *m_table; + QScxmlStateMachine *m_stateMachine; QJSValue m_jsValue; }; QT_END_NAMESPACE @@ -37,10 +37,10 @@ QScxmlPlatformProperties::QScxmlPlatformProperties(QObject *parent) , data(new Data) {} -QScxmlPlatformProperties *QScxmlPlatformProperties::create(QJSEngine *engine, QScxmlStateMachine *table) +QScxmlPlatformProperties *QScxmlPlatformProperties::create(QJSEngine *engine, QScxmlStateMachine *stateMachine) { QScxmlPlatformProperties *pp = new QScxmlPlatformProperties(engine); - pp->data->m_table = table; + pp->data->m_stateMachine = stateMachine; pp->data->m_jsValue = engine->newQObject(pp); return pp; } @@ -57,7 +57,7 @@ QJSEngine *QScxmlPlatformProperties::engine() const QScxmlStateMachine *QScxmlPlatformProperties::stateMachine() const { - return data->m_table; + return data->m_stateMachine; } QJSValue QScxmlPlatformProperties::jsValue() const |