┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2012-01-18 10:18:47 +0100
committerFrank Reininghaus <[email protected]>2012-01-18 10:18:47 +0100
commit6a338f28e5cbdfb51aa391815453fe52c33ec590 (patch)
tree7d8aadea3aef0c3101b915d33f82e62aa0bd949c /src/kitemviews/kitemlistcontroller.h
parentaff9b9570edf833eed12850c19b6833291822ea9 (diff)
Make PageUp/PageDown work in Dolphin's new view engine
BUG: 288748 FIXED-IN: 4.8.0 REVIEW: 103721
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().