diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-06 16:46:49 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-07 09:37:19 (GMT) |
commit | e248183fc443c0e2c133506dfb7c38560aee4948 (patch) | |
tree | 087d10e4d818d6e0d05d33d74444567f8cd387af /doc/src/snippets/code/src_script_qscriptengine.cpp | |
parent | 717e96cc790c173a4555077741d37f42a3dd6cba (diff) | |
download | Qt-e248183fc443c0e2c133506dfb7c38560aee4948.zip Qt-e248183fc443c0e2c133506dfb7c38560aee4948.tar.gz Qt-e248183fc443c0e2c133506dfb7c38560aee4948.tar.bz2 |
QMetaObject::invokeMethod using Qt::BlockingQueuedConnection can handle the return value.
When using Qt::BlockingQueuedConnection, we do not need to copy the
arguments, and we can handle the return type.
The argv we pass to the event is the param vector alocated on the
stack. Since we don't need to destroy the argument, we can pass 0
for the types.
The private QMetaCallEvent destructor is modified not to destroy
the arguments if types_ is 0
Task-number: QTBUG-10440
Reviewed-by: Brad
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions