summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-09-06 14:18:38 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-09-12 14:32:36 +0000
commita1ca15291fec29194348dccf213b0587a505aafb (patch)
tree83660fc80dc1cceef11f66291a50f02ace94a8af
parent96ad20bf16db9e2185f834b05073467671ee4219 (diff)
Fix some parameter alignment
Change-Id: I4daf4e38d8d9661df6ee6eed9ee93d22db868b35 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--src/scxml/qscxmlstatemachine.cpp5
-rw-r--r--src/scxml/qscxmlstatemachine.h4
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,