summaryrefslogtreecommitdiffstats
path: root/src/imports/multimedia/qdeclarativevideooutput.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-06-03 23:06:48 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-05 04:20:47 +0200
commit71e25920da0dbe8ceea1a60f67e14c3aa403344c (patch)
tree473a827db7df052ffa8aff623a4bcdd8a7e87e92 /src/imports/multimedia/qdeclarativevideooutput.cpp
parent9219ba76fd32b362dd50b62f71483b2d3f97a1e8 (diff)
Avoid string-based, dynamic lookup of signals
Qt5 has a new function QMetaMethod::fromSignal() for obtaining the meta-method that corresponds to a particular signal (member function). This also avoids calling the virtual metaObject() function to resolve the meta-method every time the signal is emitted; it is known at compile-time which class the signals are defined in, so it's safe to retain the meta-methods across calls. Change-Id: I47328ec2dfc335c570fb18bcd304a2ee405bfd6e Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
Diffstat (limited to 'src/imports/multimedia/qdeclarativevideooutput.cpp')
0 files changed, 0 insertions, 0 deletions