diff options
Diffstat (limited to 'src/modlistview.h')
| -rw-r--r-- | src/modlistview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modlistview.h b/src/modlistview.h index 1e6c5ceb..7e6b29bb 100644 --- a/src/modlistview.h +++ b/src/modlistview.h @@ -105,6 +105,11 @@ protected: QModelIndex indexModelToView(const QModelIndex& index) const;
QModelIndex indexViewToModel(const QModelIndex& index) const;
+ // returns the next/previous index of the given index
+ //
+ QModelIndex nextIndex(const QModelIndex& index) const;
+ QModelIndex prevIndex(const QModelIndex& index) const;
+
// all index for the given model under the given index, recursively
//
std::vector<QModelIndex> allIndex(
|
