+ // TODO: Hides QGraphicsItem::setSelected()/isSelected(). Replace
+ // this by using the default mechanism.
+ void setSelected(bool selected);
+ bool isSelected() const;
+
+ void setCurrent(bool current);
+ bool isCurrent() const;
+
+ void setHovered(bool hovered);
+ bool isHovered() const;
+
+ void setAlternateBackground(bool enable);
+ bool alternateBackground() const;
+
+ void setEnabledSelectionToggle(bool enabled);
+ bool enabledSelectionToggle() const;
+
+ /**
+ * Sets the sibling information for the item and all of its parents.
+ * The sibling information of the upper most parent is represented by
+ * the first bit, the sibling information of the item by the last bit.
+ * The sibling information is useful for drawing the branches in
+ * tree views.
+ */
+ void setSiblingsInformation(const QBitArray& siblings);
+ QBitArray siblingsInformation() const;
+