Obsolete Members for QMetaProperty

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

公共函數

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

成員函數文檔編製

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

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

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

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