diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-01-26 14:23:12 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-02-06 17:53:45 -0500 |
| commit | 70bbb18a9444824a8ec2b9a7ff57fc848e017b6e (patch) | |
| tree | fe87c0976b75a7557986d1ac6bcc2409a839624c /examples/triage/entry.h | |
| parent | 9b7604d13e8bd98c6998facb9326926ed96281b5 (diff) | |
Add regex and case sensitivity options to FilterEdit
Diffstat (limited to 'examples/triage/entry.h')
| -rw-r--r-- | examples/triage/entry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/triage/entry.h b/examples/triage/entry.h index a1396741..013e6793 100644 --- a/examples/triage/entry.h +++ b/examples/triage/entry.h @@ -24,7 +24,7 @@ class GenericEntryModel : public QAbstractItemModel virtual QModelIndex index(int row, int col, const QModelIndex& parent) const override; virtual QModelIndex parent(const QModelIndex& index) const override; virtual void sort(int col, Qt::SortOrder order) override; - void setFilter(const std::string& filterText); + void setFilter(const std::string& filterText, FilterOptions options); FunctionRef getEntry(const QModelIndex& index); }; @@ -46,7 +46,7 @@ class EntryTreeView : public QTreeView, public FilterTarget void copySelection(); bool canCopySelection() const; - virtual void setFilter(const std::string& filterText) override; + virtual void setFilter(const std::string& filterText, FilterOptions options) override; virtual void scrollToFirstItem() override; virtual void scrollToCurrentItem() override; virtual void ensureSelection() override; |
