diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-03-29 14:41:27 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-03-30 11:56:26 +0000 |
commit | e59c66bed0fece56292c81d30bb199a4a2b1989d (patch) | |
tree | 894d49f1f2d2a38b9fbc3947ac4e9852759c2ec5 /src/scxml/qscxmlecmascriptplatformproperties.cpp | |
parent | 69b11f636f61a2a51333fe1ef69d5fcdf7ff0b9e (diff) |
Unify Qt namespace declarations
Use QT_{BEGIN|END}_NAMESPACE instead of QT_USE_NAMESPACE as that puts
any additional symbols into the Qt namespace rather than polluting the
outer namespace. Also, add declarations where they were missing.
Change-Id: I29a308ca62497ee613feca7355aa819be4fb6f51
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/scxml/qscxmlecmascriptplatformproperties.cpp')
-rw-r--r-- | src/scxml/qscxmlecmascriptplatformproperties.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scxml/qscxmlecmascriptplatformproperties.cpp b/src/scxml/qscxmlecmascriptplatformproperties.cpp index a2c1336..8433d78 100644 --- a/src/scxml/qscxmlecmascriptplatformproperties.cpp +++ b/src/scxml/qscxmlecmascriptplatformproperties.cpp @@ -53,7 +53,6 @@ public: QScxmlStateMachine *m_stateMachine; QJSValue m_jsValue; }; -QT_END_NAMESPACE QScxmlPlatformProperties::QScxmlPlatformProperties(QObject *parent) : QObject(parent) @@ -98,3 +97,5 @@ bool QScxmlPlatformProperties::In(const QString &stateName) { return stateMachine()->isActive(stateName); } + +QT_END_NAMESPACE |