diff options
| author | Frank Reininghaus <[email protected]> | 2012-01-18 10:18:47 +0100 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-01-18 10:46:47 +0100 |
| commit | 0b0b2cba93448e1da2e4cde4fb3007c480baad23 (patch) | |
| tree | 4a1222251aa0526bc5706bb6de84d79a75470714 /src/kitemviews/kitemlistcontroller.h | |
| parent | 375b35762dad7a06c47fbd918d0a9dc2989fa201 (diff) | |
Make PageUp/PageDown work in Dolphin's new view engine
BUG: 288748
FIXED-IN: 4.8.0
REVIEW: 103721
(cherry picked from commit e56a363aa6106477fa1577cb0b1bc2a6389910c8)
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
| -rw-r--r-- | src/kitemviews/kitemlistcontroller.h | 12 |
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(). |
