Add convenience macro for fast connects in declarative.
authorMichael Brasser <michael.brasser@nokia.com>
Thu, 22 Sep 2011 03:14:00 +0000 (13:14 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 27 Sep 2011 04:16:46 +0000 (06:16 +0200)
commitffeadf7a7c09971fab09ed08b1f3f503c6facb7e
tree07264779d1a55ffc6641c316c371feabdd252848
parent1ec3460d838c05ddbd9b991d7edf9fded31fe684
Add convenience macro for fast connects in declarative.

We already follow this pattern several places, so
this commit creates a convenience macro for it, and replaces
previous usage where appropriate. Also adds the macro
several places as further optimization.

Change-Id: Ieff5ed6cc51c34d0a1c8aa42ac40314ea243477a
Reviewed-on: http://codereview.qt-project.org/5342
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/items/qsgborderimage.cpp
src/declarative/items/qsgborderimage_p_p.h
src/declarative/items/qsgflickable.cpp
src/declarative/items/qsgitem.cpp
src/declarative/items/qsgpathview.cpp
src/declarative/qml/qdeclarativeglobal_p.h
src/declarative/util/qdeclarativeanimation.cpp
src/declarative/util/qdeclarativebehavior.cpp
tests/auto/declarative/qdeclarativecpputils/qdeclarativecpputils.pro [new file with mode: 0644]
tests/auto/declarative/qdeclarativecpputils/tst_qdeclarativecpputils.cpp [new file with mode: 0644]