summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-05-06 16:46:49 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-05-07 09:37:19 (GMT)
commite248183fc443c0e2c133506dfb7c38560aee4948 (patch)
tree087d10e4d818d6e0d05d33d74444567f8cd387af /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parent717e96cc790c173a4555077741d37f42a3dd6cba (diff)
downloadQt-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_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions