v4: Get rid of dependency on QQuickAnchorLine type
authorKent Hansen <kent.hansen@nokia.com>
Tue, 22 Nov 2011 14:10:42 +0000 (15:10 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 23 Nov 2011 09:03:40 +0000 (10:03 +0100)
commit384fd7cdf1cb3061126c74c4f591cd2c0acdfedc
tree3ca056562d4fc9e12a8c982f7f4956ddba556d8c
parent23a6a1c26b3206a53f8b3019c3a7dcff8a623a24
v4: Get rid of dependency on QQuickAnchorLine type

Delegate the meta-type id query and value comparison to
QDeclarativeMetaType.

Register a comparison function for QQuickAnchorLine in
QQuickItemsModule, so that not even QDeclarativeMetaType needs to
know the type declaration. (This is needed in order to be able to
move the items to a separate library.)

Change-Id: I6404d01b74143946ae0a79fa18d1777b675e4194
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/declarative/items/qquickitemsmodule.cpp
src/declarative/qml/qdeclarativemetatype.cpp
src/declarative/qml/qdeclarativemetatype_p.h
src/declarative/qml/v4/qv4bindings.cpp
src/declarative/qml/v4/qv4compiler.cpp
src/declarative/qml/v4/qv4irbuilder.cpp