Doc: added specs to setHorizontalHeaderItem()

Added that adding an item deletes an existing one

Task-number: QTBUG-42105
Change-Id: Ibcf08e6e2bf9c9239e7eca5aa48f2f30c8417fec
Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
Nico Vertriest 2015-11-09 13:20:58 +01:00
parent 50f91545a3
commit 90c81366d1

View File

@ -2029,6 +2029,8 @@ QTableWidgetItem *QTableWidget::horizontalHeaderItem(int column) const
/*!
Sets the horizontal header item for column \a column to \a item.
If necessary, the column count is increased to fit the item.
The previous header item (if there was one) is deleted.
*/
void QTableWidget::setHorizontalHeaderItem(int column, QTableWidgetItem *item)
{