From 6a338f28e5cbdfb51aa391815453fe52c33ec590 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Wed, 18 Jan 2012 10:18:47 +0100 Subject: Make PageUp/PageDown work in Dolphin's new view engine BUG: 288748 FIXED-IN: 4.8.0 REVIEW: 103721 --- src/kitemviews/kitemlistcontroller.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kitemviews/kitemlistcontroller.h') 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(). -- cgit v1.3