#include <QObject>
class KItemModelBase;
+class KItemListRubberBandManager;
class KItemListSelectionManager;
class KItemListView;
class QGraphicsSceneHoverEvent;
signals:
void itemClicked(int index, Qt::MouseButton button);
+
+ /**
+ * Is emitted if the item with the index \p index gets hovered.
+ */
+ void itemHovered(int index);
+
+ /**
+ * Is emitted if the item with the index \p index gets unhovered.
+ * It is assured that the signal itemHovered() for this index
+ * has been emitted before.
+ */
+ void itemUnhovered(int index);
+
void itemExpansionToggleClicked(int index);
void modelChanged(KItemModelBase* current, KItemModelBase* previous);
void viewChanged(KItemListView* current, KItemListView* previous);
+private slots:
+ void slotViewOffsetChanged(qreal current, qreal previous);
+
private:
SelectionBehavior m_selectionBehavior;
KItemModelBase* m_model;