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.
Public Functions
(obsolete) bool | isItemHidden(const QListWidgetItem *item) const |
(obsolete) bool | isItemSelected(const QListWidgetItem *item) const |
(obsolete) void | setItemHidden(const QListWidgetItem *item, bool hide) |
(obsolete) void | setItemSelected(const QListWidgetItem *item, bool select) |
- 3 public functions inherited from QWidget
Member Function Documentation
bool QListWidget::isItemHidden(const QListWidgetItem *item) const
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
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)
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)
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().
© 2017 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.