diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-18 23:27:41 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-18 23:27:41 +0300 |
commit | 6826f1d6051653bce8f670474d539a348b20e6d9 (patch) | |
tree | 824350062460ef21b223105c50165e6df7983954 /launcher/VersionProxyModel.h | |
parent | 0161520b332f485483f57acc305ad71a00d63fbc (diff) | |
parent | 12cd8a7bea991c2a8d4b59b1cfc9f7c246819fc9 (diff) | |
download | PrismLauncher-6826f1d6051653bce8f670474d539a348b20e6d9.tar.gz PrismLauncher-6826f1d6051653bce8f670474d539a348b20e6d9.tar.bz2 PrismLauncher-6826f1d6051653bce8f670474d539a348b20e6d9.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into net_job_crash
Diffstat (limited to 'launcher/VersionProxyModel.h')
-rw-r--r-- | launcher/VersionProxyModel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/VersionProxyModel.h b/launcher/VersionProxyModel.h index 8991c31b..6434376c 100644 --- a/launcher/VersionProxyModel.h +++ b/launcher/VersionProxyModel.h @@ -38,7 +38,9 @@ public: virtual void setSourceModel(QAbstractItemModel *sourceModel) override; const FilterMap &filters() const; + const QString &search() const; void setFilter(const BaseVersionList::ModelRoles column, Filter * filter); + void setSearch(const QString &search); void clearFilters(); QModelIndex getRecommended() const; QModelIndex getVersion(const QString & version) const; @@ -59,6 +61,7 @@ private slots: private: QList<Column> m_columns; FilterMap m_filters; + QString m_search; BaseVersionList::RoleList roles; VersionFilterModel * filterModel; bool hasRecommended = false; |