Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Obsolete Members for QTreeWidget

Описанные ниже члены класса устарели. Они оставлены для обеспечения совместимости со старым кодом. Мы настоятельно не рекомендуем использовать их в новом коде.

Открытые функции

Защищенные функции


Описание функций-членов

bool QTreeWidget::isItemExpanded ( const QTreeWidgetItem * item ) const

Returns true if the given item is open; otherwise returns false.

This function is deprecated. Use QTreeWidgetItem::isExpanded() instead.

See also itemExpanded().

bool QTreeWidget::isItemHidden ( const QTreeWidgetItem * item ) const

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

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

bool QTreeWidget::isItemSelected ( const QTreeWidgetItem * item ) const

Returns true if the item is selected; otherwise returns false.

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

See also itemSelectionChanged().

QList<QTreeWidgetItem *> QTreeWidget::items ( const QMimeData * data ) const   [protected]

Returns an empty list

See also mimeData().

void QTreeWidget::setItemExpanded ( const QTreeWidgetItem * item, bool expand )

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().

void QTreeWidget::setItemHidden ( const QTreeWidgetItem * item, bool hide )

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().

void QTreeWidget::setItemSelected ( const QTreeWidgetItem * item, bool select )

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().


Copyright © 2008 Trolltech Торговые марки
Qt 4.3.5