Obsolete Members for QListWidget

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

Properties

Public Functions

(obsolete) dumpObjectInfo()
(obsolete) dumpObjectTree()
(obsolete) bool isEnabledToTLW() const
(obsolete) bool isItemHidden(const QListWidgetItem *item) const
(obsolete) bool isItemSelected(const QListWidgetItem *item) const
(obsolete) bool isTopLevel() const
(obsolete) void setItemHidden(const QListWidgetItem *item, bool hide)
(obsolete) void setItemSelected(const QListWidgetItem *item, bool select)
(obsolete) QWidget *topLevelWidget() const

Protected Functions

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

Member Function Documentation

bool QListWidget::isItemHidden(const QListWidgetItem *item) const

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

Returns true if the item is explicitly hidden; otherwise returns false.

This function is deprecated. Use QListWidgetItem::isHidden() instead.

bool QListWidget::isItemSelected(const QListWidgetItem *item) const

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

Returns true if item is selected; otherwise returns false.

This function is deprecated. Use QListWidgetItem::isSelected() instead.

void QListWidget::setItemHidden(const QListWidgetItem *item, bool hide)

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

If hide is true, the item will be hidden; otherwise it will be shown.

This function is deprecated. Use QListWidgetItem::setHidden() instead.

See also isItemHidden().

void QListWidget::setItemSelected(const QListWidgetItem *item, bool select)

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

Selects or deselects the given item depending on whether select is true of false.

This function is deprecated. Use QListWidgetItem::setSelected() instead.

See also isItemSelected().

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.