┌   ┐
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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h
index dbb746d92..118ed2f03 100644
--- a/src/kitemviews/kitemlistview.h
+++ b/src/kitemviews/kitemlistview.h
@@ -498,10 +498,12 @@ private:
/**
* Updates the siblings-information for all visible items that are inside
- * the range of \p firstIndex and \p lastIndex.
+ * the range of \p firstIndex and \p lastIndex. If firstIndex or lastIndex
+ * is smaller than 0, the siblings-information for all visible items gets
+ * updated.
* @see KItemListWidget::setSiblingsInformation()
*/
- void updateSiblingsInformation(int firstIndex, int lastIndex);
+ void updateSiblingsInformation(int firstIndex = -1, int lastIndex = -1);
/**
* Helper method for updateExpansionIndicators().