QMetaType

Binding for C++ class QMetaType.

extern (C++) extern (C++)
struct QMetaType {}

Constructors

this
this(int type)
Undocumented in source.
this
this(const(QMetaTypeInterface)* d)
Undocumented in source.

Members

Aliases

TypeFlags
alias TypeFlags = QFlags!(TypeFlag)
Undocumented in source.

Enums

TypeFlag
enum TypeFlag
Undocumented in source.

Functions

alignOf
qsizetype alignOf()
Undocumented in source. Be warned that the author may not have intended to support it.
compare
QPartialOrdering compare(const(void)* lhs, const(void)* rhs)
Undocumented in source.
construct
void* construct(void* where, const(void)* copy)
Undocumented in source.
destroy
void destroy(void* data)
Undocumented in source.
destruct
void destruct(void* data)
Undocumented in source.
equals
bool equals(const(void)* lhs, const(void)* rhs)
Undocumented in source.
flags
TypeFlags flags()
Undocumented in source. Be warned that the author may not have intended to support it.
hasRegisteredDataStreamOperators
bool hasRegisteredDataStreamOperators()
Undocumented in source.
id
int id()
Undocumented in source.
id
int id(int )
Undocumented in source. Be warned that the author may not have intended to support it.
iface
const(QMetaTypeInterface)* iface()
Undocumented in source. Be warned that the author may not have intended to support it.
isEqualityComparable
bool isEqualityComparable()
Undocumented in source.
isOrdered
bool isOrdered()
Undocumented in source.
isRegistered
bool isRegistered()
Undocumented in source.
isValid
bool isValid()
Undocumented in source.
load
bool load(QDataStream stream, void* data)
Undocumented in source.
metaObject
const(QMetaObject)* metaObject()
Undocumented in source. Be warned that the author may not have intended to support it.
name
const(char)* name()
Undocumented in source. Be warned that the author may not have intended to support it.
save
bool save(QDataStream stream, const(void)* data)
Undocumented in source.
sizeOf
qsizetype sizeOf()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

canConvert
bool canConvert(QMetaType fromType, QMetaType toType)
Undocumented in source.
canView
bool canView(QMetaType fromType, QMetaType toType)
Undocumented in source.
compare
bool compare(const(void)* lhs, const(void)* rhs, int typeId, int* result)
Undocumented in source. Be warned that the author may not have intended to support it.
convert
bool convert(QMetaType fromType, const(void)* from, QMetaType toType, void* to)
Undocumented in source.
convert
bool convert(const(void)* from, int fromTypeId, void* to, int toTypeId)
Undocumented in source. Be warned that the author may not have intended to support it.
equals
bool equals(const(void)* lhs, const(void)* rhs, int typeId, int* result)
Undocumented in source. Be warned that the author may not have intended to support it.
fromName
QMetaType fromName(QByteArrayView name)
Undocumented in source.
fromType
QMetaType fromType()
Undocumented in source. Be warned that the author may not have intended to support it.
hasRegisteredMutableViewFunction
bool hasRegisteredMutableViewFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
hasRegisteredMutableViewFunction
bool hasRegisteredMutableViewFunction(QMetaType fromType, QMetaType toType)
Undocumented in source.
isRegistered
bool isRegistered(int type)
Undocumented in source.
load
bool load(QDataStream stream, int type, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
save
bool save(QDataStream stream, int type, const(void)* data)
Undocumented in source. Be warned that the author may not have intended to support it.
unregisterMetaType
void unregisterMetaType(QMetaType type)
Undocumented in source.
view
bool view(QMetaType fromType, void* from, QMetaType toType, void* to)
Undocumented in source.

Variables

d_ptr
const(QMetaTypeInterface)* d_ptr;
Undocumented in source.

Meta