- virtual void siblingsInformationChanged(const QBitArray& current, const QBitArray& previous);
- virtual void editedRoleChanged(const QByteArray& current, const QByteArray& previous);
- void resizeEvent(QGraphicsSceneResizeEvent* event) override;
+ virtual void siblingsInformationChanged(const QBitArray ¤t, const QBitArray &previous);
+ virtual void editedRoleChanged(const QByteArray ¤t, const QByteArray &previous);
+ virtual void iconSizeChanged(int current, int previous);
+ void resizeEvent(QGraphicsSceneResizeEvent *event) override;
+ void clearHoverCache();
+
+ /**
+ * Called when the user starts hovering this item.
+ */
+ virtual void hoverSequenceStarted();
+
+ /**
+ * Called in regular intervals while the user is hovering this item.
+ *
+ * @param sequenceIndex An index that increases over time while the user hovers.
+ */
+ virtual void hoverSequenceIndexChanged(int sequenceIndex);
+
+ /**
+ * Called when the user stops hovering this item.
+ */
+ virtual void hoverSequenceEnded();