18#include <QtCore/private/qglobal_p.h>
23#define QMETATYPE_CONVERTER(To, From, assign_and_return) \
24 case makePair(QMetaType::To, QMetaType::From): \
28 const From &source = *static_cast<const From *>(from); \
29 To &result = *static_cast<To *>(to); \
32#define QMETATYPE_CONVERTER_ASSIGN(To, From) \
33 QMETATYPE_CONVERTER(To, From, result = To(source); return true;)
35#define QMETATYPE_CONVERTER_FUNCTION(To, assign_and_return) \
37 To &result = *static_cast<To *>(r); \
55 virtual bool convert(
const void *,
int,
void *,
int)
const;
75#if QT_CONFIG(easingcurve)
82template<>
struct TypeDefinition<
QUrl> {
static const bool IsAvailable =
false; };
85#ifdef QT_NO_GEOM_VARIANT
86template<>
struct TypeDefinition<
QRect> {
static const bool IsAvailable =
false; };
87template<>
struct TypeDefinition<
QRectF> {
static const bool IsAvailable =
false; };
88template<>
struct TypeDefinition<
QSize> {
static const bool IsAvailable =
false; };
89template<>
struct TypeDefinition<
QSizeF> {
static const bool IsAvailable =
false; };
90template<>
struct TypeDefinition<
QLine> {
static const bool IsAvailable =
false; };
91template<>
struct TypeDefinition<
QLineF> {
static const bool IsAvailable =
false; };
92template<>
struct TypeDefinition<
QPoint> {
static const bool IsAvailable =
false; };
95#if !QT_CONFIG(regularexpression)
101#ifdef QT_NO_MATRIX4X4
113#ifdef QT_NO_QUATERNION
117template<>
struct TypeDefinition<
QIcon> {
static const bool IsAvailable =
false; };
125 return iface->typeId.loadRelaxed() == typeId;
128template <
typename FPo
inter>
134 Q_ASSERT(!isInterfaceFor<void>(iface));
136 return ptr !=
nullptr || (iface->flags & Flag) == 0;
160 return iface->revision < 1 ||
167 if (iface->defaultCtr)
168 iface->defaultCtr(iface, where);
170 memset(where, 0, iface->size);
177 iface->copyCtr(iface, where,
copy);
179 memcpy(where,
copy, iface->size);
186 iface->moveCtr(iface, where,
copy);
188 memcpy(where,
copy, iface->size);
203 iface->dtor(iface, where);
217#define QT_METATYPE_CONVERT_ID_TO_TYPE(MetaTypeName, MetaTypeId, RealName) \
218 case QMetaType::MetaTypeName: \
219 return QtMetaTypePrivate::getInterfaceFromType<RealName>();
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QCursor class provides a mouse cursor with an arbitrary shape.
The QIcon class provides scalable icons in different modes and states.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\compares equality \compareswith equality QLine \endcompareswith
\inmodule QtCore\compares equality \compareswith equality QLineF \endcompareswith
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QQuaternion class represents a quaternion consisting of a vector and scalar.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore \reentrant
The QVector2D class represents a vector or vertex in 2D space.
The QVector3D class represents a vector or vertex in 3D space.
The QVector4D class represents a vector or vertex in 4D space.
Combined button and popup list for selecting options.
static jboolean copy(JNIEnv *, jobject)
static ControlElement< T > * ptr(QWidget *widget)
unsigned long long quint64