以下成員源於類 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.