From 0b0b2cba93448e1da2e4cde4fb3007c480baad23 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 (cherry picked from commit e56a363aa6106477fa1577cb0b1bc2a6389910c8) --- 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.1