diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-05-24 14:35:45 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-20 15:45:07 +0200 |
commit | 579ea489a40ae0240f22c3d31bde1fc2cd8aaf15 (patch) | |
tree | b2d2e0a950af75d8e230dbe41e4b0f3f31ae308e /src/widgets | |
parent | 668efc29fd85bbae2395a4eca8d0ad71ad6ee3d1 (diff) |
Record if a metatype is a smart pointer to a QObject derived.
This allows QVariant/QMetaType software (such as QtDeclarative) to
deal with smart pointers in a similar way to how they can deal with
naked pointers (accessing properties etc).
This also adds a requirement that T be fully defined when
QSharedPointer<T> is inserted into a QVariant.
Change-Id: I29e12b8a6aa5f4aadbd62f92b89bc238f64b5725
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions