Obsolete Members for QMetaType

The following members of class QMetaType are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Static Public Members

(obsolete) void * construct (int type , const void * copy = nullptr)

Member Function Documentation

[static] void *QMetaType:: construct ( int type , const void * copy = nullptr)

Constructs a value of the given type which is a copy of copy . The default value for copy is 0.

Deprecated, use the static function QMetaType::create (int type, const void *copy) instead.