diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-02-28 19:54:46 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-01 14:26:06 +0100 |
commit | 15c141511fab24233d42b3c8593f0781a4931c8a (patch) | |
tree | b0447061da9bcb9e5fa94f40687041ea63e0e783 /src/gui/kernel/qplatformcursor_qpa.h | |
parent | e17440586252551c6de169d9141daef1c31a1e7e (diff) |
QPair: specialise QTypeInfo based on the typeinfos of its arguments
Specialise QTypeInfo<QPair<T1,T2>> based on the properties of
T1 and T2:
- If either T1 or T2 is Q_COMPLEX_TYPE, so is QPair<T1,T2>.
- Otherwise, if either T1 or T2 is Q_MOVABLE_TYPE, so is QPair<T1,T2>.
- Otherwise, QPair<T1,T2> is Q_PRIMITIVE_TYPE.
Change-Id: I8aecbd37e3b7924f77f38967498deabf1a19ca24
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/gui/kernel/qplatformcursor_qpa.h')
0 files changed, 0 insertions, 0 deletions