![]() |
Qt 6.x
The Qt SDK
|
#include <qvariant.h>
Public Member Functions | |
const void * | convert (const QVariant &value, const QMetaType &type) |
const void * | coerce (const QVariant &value, const QMetaType &type) |
Definition at line 812 of file qvariant.h.
const void * QtPrivate::QVariantTypeCoercer::coerce | ( | const QVariant & | value, |
const QMetaType & | type | ||
) |
Definition at line 2868 of file qvariant.cpp.
References convert().
Referenced by QSequentialIterable::addValue(), QAssociativeIterable::insertKey(), QVariantRef< Pointer >::operator=(), QAssociativeIterable::removeKey(), QSequentialIterable::set(), QAssociativeIterable::setValue(), and QAssociativeIterable::value().
const void * QtPrivate::QVariantTypeCoercer::convert | ( | const QVariant & | value, |
const QMetaType & | type | ||
) |
Definition at line 2848 of file qvariant.cpp.
References QVariant::constData(), and QVariant::convert().
Referenced by QAssociativeIterable::containsKey(), QAssociativeIterable::find(), and QAssociativeIterable::mutableFind().