diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-31 13:56:16 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:18 +0100 |
| commit | ee7097b0a77c7fe416cdff3bf88292409c97945b (patch) | |
| tree | b6f209a83cbe69b657fba5926488ef121306b481 | |
| parent | 524145405b292682c635db7412017c19ce86d1ea (diff) | |
Make some methods protected in ModListView.
| -rw-r--r-- | src/modlistview.h | 7 |
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;
|
