summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_qdbus_qdbusreply.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-19 12:30:55 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-01-28 15:42:56 (GMT)
commit6febad4e3745ffae00769fbbabfe625153d288e5 (patch)
tree6de2b11b26cee64112030cfe794770d9b47a0f90 /doc/src/snippets/code/src_qdbus_qdbusreply.cpp
parentbaaab6287fa35f18a7fbde6c69101dae974caa66 (diff)
downloadQt-6febad4e3745ffae00769fbbabfe625153d288e5.zip
Qt-6febad4e3745ffae00769fbbabfe625153d288e5.tar.gz
Qt-6febad4e3745ffae00769fbbabfe625153d288e5.tar.bz2
Only send QGraphicsItem::ParentChange(d) notifications from setParentItem.
QmlGraphicsItem doesn't need any parent change notifactions so we can call the helper class (QGraphicsItemPrivate::setParentItemHelper) direclty from QmlGraphicsItem::setParentItem. This avoids a lot of unnecessary instructions related to QVariant constructions as well as virtual function calls. I've made the variant pointers explicit in the declaration of setParentItemHelper so that we don't accidentally call setParentItemHelper from places where we need parent change notifications. Task-number: QTBUG-6877 Reviewed-by: alexis
Diffstat (limited to 'doc/src/snippets/code/src_qdbus_qdbusreply.cpp')
0 files changed, 0 insertions, 0 deletions