diff options
-rw-r--r-- | src/scxml/qscxmlstatemachine.cpp | 5 | ||||
-rw-r--r-- | src/scxml/qscxmlstatemachine.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/scxml/qscxmlstatemachine.cpp b/src/scxml/qscxmlstatemachine.cpp index 36ff895..326cb80 100644 --- a/src/scxml/qscxmlstatemachine.cpp +++ b/src/scxml/qscxmlstatemachine.cpp @@ -1629,8 +1629,9 @@ QMetaObject::Connection QScxmlStateMachine::connectToStateImpl(const QString &sc Returns a handle to the connection, which can be used later to disconnect. */ QMetaObject::Connection QScxmlStateMachine::connectToState(const QString &scxmlStateName, - const QObject *receiver, const char *method, - Qt::ConnectionType type) + const QObject *receiver, + const char *method, + Qt::ConnectionType type) { QByteArray signalName = QByteArray::number(QSIGNAL_CODE) + scxmlStateName.toUtf8() + "Changed(bool)"; diff --git a/src/scxml/qscxmlstatemachine.h b/src/scxml/qscxmlstatemachine.h index b80fcae..787a7c6 100644 --- a/src/scxml/qscxmlstatemachine.h +++ b/src/scxml/qscxmlstatemachine.h @@ -112,8 +112,8 @@ public: Q_INVOKABLE bool isActive(const QString &scxmlStateName) const; QMetaObject::Connection connectToState(const QString &scxmlStateName, - const QObject *receiver, const char *method, - Qt::ConnectionType type = Qt::AutoConnection); + const QObject *receiver, const char *method, + Qt::ConnectionType type = Qt::AutoConnection); #ifdef Q_QDOC template<typename PointerToMemberFunction> QMetaObject::Connection connectToState(const QString &scxmlStateName, |