diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-04-05 06:55:18 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-04-12 01:07:49 (GMT) |
commit | f2219ce983098fc14655d8f3bb8a7fee2c9abe4d (patch) | |
tree | f8efd2e3eab7ff4ee868985fa7cdeb3fad0f0f1e /tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml | |
parent | 6ec7695eaa02c923b90d72e3918b9ab50da63e41 (diff) | |
download | Qt-f2219ce983098fc14655d8f3bb8a7fee2c9abe4d.zip Qt-f2219ce983098fc14655d8f3bb8a7fee2c9abe4d.tar.gz Qt-f2219ce983098fc14655d8f3bb8a7fee2c9abe4d.tar.bz2 |
Allow enum values to be used as signal parameters
The fix does not work for enums declared outside of the class that
emits the signal, since in this case it is not possible to access
the metaobject of the class that declared the enum. However the
fix makes a special case for the Qt namespace to allow enums in this
namespace to be used.
Task-number: QTBUG-15983
Change-Id: I6f72255b07010311a20fe068bd97c7db7b294d9b
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml b/tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml index 8addcb9..6467c42 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml +++ b/tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.2.qml @@ -1,5 +1,5 @@ import Qt.test 1.0 MyQmlObject { - onArgumentSignal: setString('pass ' + a + ' ' + b + ' ' + c) + onArgumentSignal: setString('pass ' + a + ' ' + b + ' ' + c + ' ' + d + ' ' + e) } |