summaryrefslogtreecommitdiff
path: root/src/modlistview.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-31 13:56:16 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:18 +0100
commitee7097b0a77c7fe416cdff3bf88292409c97945b (patch)
treeb6f209a83cbe69b657fba5926488ef121306b481 /src/modlistview.h
parent524145405b292682c635db7412017c19ce86d1ea (diff)
Make some methods protected in ModListView.
Diffstat (limited to 'src/modlistview.h')
-rw-r--r--src/modlistview.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modlistview.h b/src/modlistview.h
index 87d8eac5..098466bc 100644
--- a/src/modlistview.h
+++ b/src/modlistview.h
@@ -107,6 +107,11 @@ public slots:
//
void refreshFilters();
+protected:
+
+ friend class ModListContextMenu;
+ friend class ModListViewActions;
+
// map from/to the view indexes to the model
//
QModelIndex indexModelToView(const QModelIndex& index) const;
@@ -114,8 +119,6 @@ public slots:
QModelIndex indexViewToModel(const QModelIndex& index) const;
QModelIndexList indexViewToModel(const QModelIndexList& index) const;
-protected:
-
// returns the next/previous index of the given index
//
QModelIndex nextIndex(const QModelIndex& index) const;