QMetaType

#include <QtCore/QMetaType>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QMetaType


Overview

Public Types Index

void *(*Constructor
void(*Destructor
void(*LoadOperator
void(*SaveOperator

enum Type

Void 0, Bool 1, Int 2, UInt 3, LongLong 4, ULongLong 5, Double 6, QChar 7, QVariantMap 8, QVariantList 9, QString 10, QStringList 11, QByteArray 12, QBitArray 13, QDate 14, QTime 15, QDateTime 16, QUrl 17, QLocale 18, QRect 19, QRectF 20, QSize 21, QSizeF 22, QLine 23, QLineF 24, QPoint 25, QPointF 26, QRegExp 27, QVariantHash 28, QEasingCurve 29, LastCoreType QEasingCurve, FirstGuiType 63, QFont 64, QPixmap 65, QBrush 66, QColor 67, QPalette 68, QIcon 69, QImage 70, QPolygon 71, QRegion 72, QBitmap 73, QCursor 74, QSizePolicy 75, QKeySequence 76, QPen 77, QTextLength 78, QTextFormat 79, QMatrix 80, QTransform 81, QMatrix4x4 82, QVector2D 83, QVector3D 84, QVector4D 85, QQuaternion 86, LastGuiType QQuaternion, FirstCoreExtType 128, VoidStar 128, Long 129, Short 130, Char 131, ULong 132, UShort 133, UChar 134, Float 135, QObjectStar 136, QWidgetStar 137, QVariant 138, LastCoreExtType QVariant, QReal Double, User 256

Static Public Functions Index

void *construct (int type, const void *copy=0)
voiddestroy (int type, void *data)
boolisRegistered (int type)
boolload (QDataStream &stream, int type, void *data)
voidregisterStreamOperators (const char *typeName, SaveOperator saveOp, LoadOperator loadOp)
voidregisterStreamOperators (int type, SaveOperator saveOp, LoadOperator loadOp)
intregisterType (const char *typeName, Destructor destructor, Constructor constructor)
intregisterTypedef (const char *typeName, int aliasId)
boolsave (QDataStream &stream, int type, const void *data)
inttype (const char *typeName)
const char *typeName (int type)
voidunregisterType (const char *typeName)

Public Types

typedef void *(* Constructor

typedef void(* Destructor

typedef void(* LoadOperator

typedef void(* SaveOperator

Type

Void 0
Bool 1
Int 2
UInt 3
LongLong 4
ULongLong 5
Double 6
QChar 7
QVariantMap 8
QVariantList 9
QString 10
QStringList 11
QByteArray 12
QBitArray 13
QDate 14
QTime 15
QDateTime 16
QUrl 17
QLocale 18
QRect 19
QRectF 20
QSize 21
QSizeF 22
QLine 23
QLineF 24
QPoint 25
QPointF 26
QRegExp 27
QVariantHash 28
QEasingCurve 29
LastCoreType QEasingCurve
FirstGuiType 63
QFont 64
QPixmap 65
QBrush 66
QColor 67
QPalette 68
QIcon 69
QImage 70
QPolygon 71
QRegion 72
QBitmap 73
QCursor 74
QSizePolicy 75
QKeySequence 76
QPen 77
QTextLength 78
QTextFormat 79
QMatrix 80
QTransform 81
QMatrix4x4 82
QVector2D 83
QVector3D 84
QVector4D 85
QQuaternion 86
LastGuiType QQuaternion
FirstCoreExtType 128
VoidStar 128
Long 129
Short 130
Char 131
ULong 132
UShort 133
UChar 134
Float 135
QObjectStar 136
QWidgetStar 137
QVariant 138
LastCoreExtType QVariant
QReal Double
User 256

Static Public Functions

void * construct (
  • inttype,
  • const void *copy )

void destroy (
  • inttype,
  • void *data )

bool isRegistered (
  • inttype)

bool load (

void registerStreamOperators (
  • const char *typeName,
  • SaveOperatorsaveOp,
  • LoadOperatorloadOp )

void registerStreamOperators (
  • inttype,
  • SaveOperatorsaveOp,
  • LoadOperatorloadOp )

int registerType (
  • const char *typeName,
  • Destructordestructor,
  • Constructorconstructor )

int registerTypedef (
  • const char *typeName,
  • intaliasId )

bool save (

int type (
  • const char *typeName)

const char * typeName (
  • inttype)

void unregisterType (
  • const char *typeName)

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus