┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
-rw-r--r--src/kitemviews/kitemlistview.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h
index 985b7c278..fd2f286db 100644
--- a/src/kitemviews/kitemlistview.h
+++ b/src/kitemviews/kitemlistview.h
@@ -162,10 +162,10 @@ public:
virtual QHash<QByteArray, QSizeF> visibleRolesSizes(const KItemRangeList& itemRanges) const;
/**
- * @return The bounding rectangle of the item relative to the top/left of
+ * @return The rectangle of the item relative to the top/left of
* the currently visible area (see KItemListView::offset()).
*/
- QRectF itemBoundingRect(int index) const;
+ QRectF itemRect(int index) const;
/**
* @return The number of items that can be shown in parallel for one offset.
@@ -336,6 +336,13 @@ private:
void updateGroupHeaderForWidget(KItemListWidget* widget);
/**
+ * Updates the position and size of the group-header that belongs
+ * to the itemlist widget \a widget. The given widget must represent
+ * the first item of a group.
+ */
+ void updateGroupHeaderLayout(KItemListWidget* widget);
+
+ /**
* Recycles the group-header from the widget.
*/
void recycleGroupHeaderForWidget(KItemListWidget* widget);