Obsolete Members for QMetaProperty

以下成員源於類 QMetaProperty 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(棄用) QVariant::Type type () const

成員函數文檔編製

QVariant::Type QMetaProperty:: type () const

This function is deprecated. We strongly advise against using it in new code.

Returns this property's type. The return value is one of the values of the QVariant::Type 枚舉。

另請參閱 typeName (), name (),和 metaType ().