diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-09-08 08:49:29 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-11 12:24:42 +0200 |
commit | 546d52e605b6a74d9a5be26fb374b831a46f2550 (patch) | |
tree | c48f2e75179c44f5bee37ee2c5d8b8afcc4d072a /src/tools/moc | |
parent | 3256856bbea22da03109b84ef407e8dbc69930e7 (diff) |
Add a convenient way to get a type-erased smart pointer from a QVariant.
Any known smart pointer in a QVariant can be handled in this way. The
metatype system can be informed of new smart pointer types using an
existing macro which is now documented.
This is very similar to the existing infrastructure
for containers.
Change-Id: Iac4f9fabbc5a0626c04e1185d51d720b8b54603d
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/moc')
0 files changed, 0 insertions, 0 deletions