┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
-rw-r--r--src/kitemviews/kitemlistcontroller.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kitemviews/kitemlistcontroller.h b/src/kitemviews/kitemlistcontroller.h
index d0e5f72ec..9ac4c76e6 100644
--- a/src/kitemviews/kitemlistcontroller.h
+++ b/src/kitemviews/kitemlistcontroller.h
@@ -238,16 +238,16 @@ private:
void updateKeyboardAnchor();
/**
- * @return Index for the next row based on the current index.
- * If there is no next row the current index will be returned.
+ * @return Index for the next row based on \a index.
+ * If there is no next row \a index will be returned.
*/
- int nextRowIndex() const;
+ int nextRowIndex(int index) const;
/**
- * @return Index for the previous row based on the current index.
- * If there is no previous row the current index will be returned.
+ * @return Index for the previous row based on \a index.
+ * If there is no previous row \a index will be returned.
*/
- int previousRowIndex() const;
+ int previousRowIndex(int index) const;
/**
* Helper method for updateKeyboardAnchor(), previousRowIndex() and nextRowIndex().