diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-12-08 10:39:31 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-12-08 10:39:31 (GMT) |
commit | 4f6dc78fb05026608ffb03dfae905c23a48aac43 (patch) | |
tree | 9c64344f8e7cd80f873dc142c81058b49c249204 /src/gui/kernel | |
parent | 2e110daa8fb3889036db330837884a6aa61a92a1 (diff) | |
download | Qt-4f6dc78fb05026608ffb03dfae905c23a48aac43.zip Qt-4f6dc78fb05026608ffb03dfae905c23a48aac43.tar.gz Qt-4f6dc78fb05026608ffb03dfae905c23a48aac43.tar.bz2 |
Doc: Explicitly mention that QWidget/QGraphicsItem takes ownership of effects.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 00c7dc0..21aae3e 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -5046,6 +5046,8 @@ QGraphicsEffect *QWidget::graphicsEffect() const If \a effect is the installed on a different widget, setGraphicsEffect() will remove the effect from the widget and install it on this widget. + QWidget takes ownership of \a effect. + \note This function will apply the effect on itself and all its children. \since 4.6 |