diff options
| author | Renato Filho <renato.filho@openbossa.org> | 2010-04-22 16:18:23 -0300 |
|---|---|---|
| committer | Renato Filho <renato.filho@openbossa.org> | 2010-04-22 18:22:22 -0300 |
| commit | 59ccd4c744de0c3c41015a80798e31e8481df5b0 (patch) | |
| tree | c983007a3f0057d1e0d5bae4aeb736bd0bb8ba3f /doc/codesnippets/snippets/textdocument-resources/main.cpp | |
| parent | 3c68c1f03f14f233f11dc2918192078a36efd276 (diff) | |
For now on, the c++ ownership is mandatory on QLayout family classes.
QLayouts class does not take ownership of widgets, only transfer
ownership to parentWidgets.
If you add a QWidget in a QLayout this widget does not have your
refcount incremented until this layout get a parent QWidget.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'doc/codesnippets/snippets/textdocument-resources/main.cpp')
0 files changed, 0 insertions, 0 deletions
