Obsolete Members for QTreeWidgetItem

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

公共函數

(obsolete) QColor backgroundColor (int column ) const
(obsolete) void setBackgroundColor (int column , const QColor & color )
(obsolete) void setTextColor (int column , const QColor & color )
(obsolete) QColor textColor (int column ) const

成員函數文檔編製

QColor QTreeWidgetItem:: backgroundColor ( int column ) const

This function is deprecated. Use background () 代替。

另請參閱 setBackgroundColor ().

void QTreeWidgetItem:: setBackgroundColor ( int column , const QColor & color )

This function is deprecated. Use setBackground () 代替。

另請參閱 backgroundColor ().

void QTreeWidgetItem:: setTextColor ( int column , const QColor & color )

This function is deprecated. Use setForeground () 代替。

另請參閱 textColor ().

QColor QTreeWidgetItem:: textColor ( int column ) const

This function is deprecated. Use foreground () 代替。

另請參閱 setTextColor ().