Obsolete Members for QMetaProperty

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

公共函數

(obsolete) bool isEditable (const QObject * object = nullptr) const

成員函數文檔編製

bool QMetaProperty:: isEditable (const QObject * object = nullptr) const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

返迴 true if the property is editable for the given object ;否則返迴 false .

若無 object is given, the function returns false Q_PROPERTY() 's EDITABLE attribute is false; otherwise returns true (if the attribute is true or is a function or expression).

另請參閱 isDesignable (), isScriptable (),和 isStored ().