qtdatastream/types

Classes

QBool
QByteArray
QChar
QClass
QDateTime
QDouble
QInt
QInt64
QInvalid
QList
QMap
QShort
QString
QStringList
QTime
QUInt
QUInt64
QUserType
QVariant

Members

(static, readonly) Types :number

Source:
See:

Qt types contants

Type:
  • number

Methods

(inner) qtype()

Source:

Decorator that affect QDatastream ID to classes. Used for serialization and deserialization.

Example
// ES7
@qtype(Types.QUInt)
class QUInt extends QClass {}
// ES6
class QUInt extends QClass {}
qtype(Types.QUInt)(QUInt);