diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-29 21:23:23 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:16 +0100 |
| commit | 44e846cf18d2e46b471183fd1d5ba81a4b7a312d (patch) | |
| tree | 7c6164ed490e2144d65250cfd5c3d5f16285eb28 /src/modlistview.h | |
| parent | 6e803a35226980a135d8837898345b38675e3188 (diff) | |
Remove context attribute from MainWindow.
Diffstat (limited to 'src/modlistview.h')
| -rw-r--r-- | src/modlistview.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/src/modlistview.h b/src/modlistview.h index 7e6b29bb..3520bfc4 100644 --- a/src/modlistview.h +++ b/src/modlistview.h @@ -56,25 +56,6 @@ public: int nextMod(int index) const;
int prevMod(int index) const;
- // invalidate the top-level model
- //
- void invalidate();
-
- // enable/disable all visible mods
- //
- void enableAllVisible();
- void disableAllVisible();
-
- // enable/disable all selected mods
- //
- void enableSelected();
- void disableSelected();
-
- // set the filter criteria/options for mods
- //
- void setFilterCriteria(const std::vector<ModListSortProxy::Criteria>& criteria);
- void setFilterOptions(ModListSortProxy::FilterMode mode, ModListSortProxy::SeparatorsMode sep);
-
// check if the given mod is visible
//
bool isModVisible(unsigned int index) const;
@@ -96,6 +77,27 @@ signals: public slots:
+ // invalidate the top-level model
+ //
+ void invalidate();
+
+ // enable/disable all visible mods
+ //
+ void enableAllVisible();
+ void disableAllVisible();
+
+ // enable/disable all selected mods
+ //
+ void enableSelected();
+ void disableSelected();
+
+ // set the filter criteria/options for mods
+ //
+ void setFilterCriteria(const std::vector<ModListSortProxy::Criteria>& criteria);
+ void setFilterOptions(ModListSortProxy::FilterMode mode, ModListSortProxy::SeparatorsMode sep);
+
+ // update the mod counter
+ //
void updateModCount();
protected:
|
