QMetaType 过时成员

以下成员源于类 QMetaType 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

静态公共成员

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

成员函数文档编制

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

Constructs a value of the given type which is a copy of copy 。默认值对于 copy 为 0。

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