The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
bool | isItemExpanded ( const QTreeWidgetItem * item ) const (obsolete) |
bool | isItemHidden ( const QTreeWidgetItem * item ) const (obsolete) |
bool | isItemSelected ( const QTreeWidgetItem * item ) const (obsolete) |
void | setItemExpanded ( const QTreeWidgetItem * item, bool expand ) (obsolete) |
void | setItemHidden ( const QTreeWidgetItem * item, bool hide ) (obsolete) |
void | setItemSelected ( const QTreeWidgetItem * item, bool select ) (obsolete) |
QList<QTreeWidgetItem *> | items ( const QMimeData * data ) const (obsolete) |
Returns true if the given item is open; otherwise returns false.
This function is deprecated. Use QTreeWidgetItem::isExpanded() instead.
See also itemExpanded().
Returns true if the item is explicitly hidden, otherwise returns false.
This function is deprecated. Use QTreeWidgetItem::isHidden() instead.
Returns true if the item is selected; otherwise returns false.
This function is deprecated. Use QTreeWidgetItem::isSelected() instead.
See also itemSelectionChanged().
Returns an empty list
See also mimeData().
Sets the item referred to by item to either closed or opened, depending on the value of expand.
This function is deprecated. Use QTreeWidgetItem::setExpanded() instead.
See also expandItem(), collapseItem(), and itemExpanded().
Hides the given item if hide is true; otherwise shows the item.
This function is deprecated. Use QTreeWidgetItem::setHidden() instead.
See also isItemHidden() and itemChanged().
If select is true, the given item is selected; otherwise it is deselected.
This function is deprecated. Use QTreeWidgetItem::setSelected() instead.
See also isItemSelected() and itemSelectionChanged().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.