Obsolete Members for QTreeView | Qt Widgets 5.12.10

- Qt 5.12
- Qt Widgets
- C++ Classes
- QTreeView
- Qt 5.12.10 Reference Documentation

# Obsolete Members for QTreeView

The following members of class QTreeView are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Properties

- `(obsolete)` windowIconText : QString

## Public Functions

`(obsolete)` | dumpObjectInfo()
`(obsolete)` | dumpObjectTree()
`(obsolete)` bool | isEnabledToTLW() const
`(obsolete)` bool | isTopLevel() const
`(obsolete)` QWidget * | topLevelWidget() const

## Public Slots

`(obsolete)` void | sortByColumn(int column)

## Protected Functions

`(obsolete)` int | horizontalStepsPerItem() const
`(obsolete)` void | setHorizontalStepsPerItem(int steps)
`(obsolete)` void | setVerticalStepsPerItem(int steps)
`(obsolete)` int | verticalStepsPerItem() const

## Member Function Documentation

### `[slot]` void QTreeView::sortByColumn(int column)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

Sorts the model by the values in the given column.