The name is taken from the existing Q_DECLARE_METATYPE()s.
Also don't call qRegisterMetaType<>, as that is done within
qRegisterMetaTypeStreamOperators<> already.
Change-Id: Ia782868b49bc97d78e0cec29ef9f8b5709420e2a
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
static void qRegisterPaintBufferMetaTypes()
{
- qRegisterMetaType<QPaintBufferCacheEntry>();
- qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntry>("QPaintBufferCacheEntry");
- qRegisterMetaType<QPaintBufferCacheEntryV2>();
- qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntryV2>("QPaintBufferCacheEntryV2");
+ qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntry>();
+ qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntryV2>();
}
Q_CONSTRUCTOR_FUNCTION(qRegisterPaintBufferMetaTypes)