Obsolete Members for QStandardItem

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

公共函數

(obsolete) bool isTristate () const
(obsolete) void setTristate (bool tristate )

成員函數文檔編製

bool QStandardItem:: isTristate () const

使用 QStandardItem::isAutoTristate () instead. For a tristate checkbox that the user can change between all three states, use QStandardItem::isUserTristate () 代替。

void QStandardItem:: setTristate ( bool tristate )

使用 QStandardItem::setAutoTristate (bool tristate) instead. For a tristate checkbox that the user can change between all three states, use QStandardItem::setUserTristate (bool tristate) instead.

另請參閱 isTristate ().