diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-29 23:50:33 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-29 23:50:33 -0500 |
| commit | 93318a1474031035da5e61ad199171cad5803c2f (patch) | |
| tree | ddde0238c4453784949f3c6ee454675c953e6825 /src/filterlist.h | |
| parent | 4bbdbb000fd5051fe80b5dca21dda60910284333 (diff) | |
moved all remaining filter stuff to FilterList
renamed some widgets
Diffstat (limited to 'src/filterlist.h')
| -rw-r--r-- | src/filterlist.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/filterlist.h b/src/filterlist.h index ca74021a..85982392 100644 --- a/src/filterlist.h +++ b/src/filterlist.h @@ -19,7 +19,8 @@ public: void refresh(); signals: - void changed(std::vector<int> categories, std::vector<int> content); + void filtersChanged(std::vector<int> categories, std::vector<int> content); + void criteriaChanged(ModListSortProxy::FilterMode mode, bool inverse, bool separators); private: Ui::MainWindow* ui; @@ -27,6 +28,7 @@ private: void onContextMenu(const QPoint &pos); void onSelection(); + void onCriteriaChanged(); void editCategories(); @@ -37,6 +39,8 @@ private: void addContentFilters(); void addCategoryFilters( QTreeWidgetItem *root, const std::set<int> &categoriesUsed, int targetID); + void addSpecialFilterItem(int type); + }; #endif // MODORGANIZER_CATEGORIESLIST_INCLUDED |
