以下成員源於類 QMetaType 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
void *
|
construct (int type , const void * copy = nullptr) |
[static]
void
*QMetaType::
construct
(
int
type
, const
void
*
copy
= nullptr)
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Constructs a value of the given type which is a copy of
copy
。默認值對於
copy
is
nullptr
.
Deprecated, use the static function QMetaType::create (int type, const void *copy) instead.