Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtPrivate::QVariantTypeCoercer Class Reference

#include <qvariant.h>

+ Collaboration diagram for QtPrivate::QVariantTypeCoercer:

Public Member Functions

const voidconvert (const QVariant &value, const QMetaType &type)
 
const voidcoerce (const QVariant &value, const QMetaType &type)
 

Detailed Description

Definition at line 812 of file qvariant.h.

Member Function Documentation

◆ coerce()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convert()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: