┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinfacetswidget.h
diff options
context:
space:
mode:
authorIsmael Asensio <[email protected]>2019-12-21 19:41:44 +0100
committerIsmael Asensio <[email protected]>2019-12-26 19:30:08 +0100
commit732697d0d6fcc3a834a85865dcd88870e127711b (patch)
tree7562c951018129e3ee4fa4cd99de34948d6c774f /src/search/dolphinfacetswidget.h
parent4dc362db1ec564b9fd2588f5b642406d6a712229 (diff)
Rename methods on DolphinFacetsWidget
Summary: Small refactor patch to rename method names, from `ratingTerm` to `searchTerm`, since its scope has grown bigger. Test Plan: No behavior changes Reviewers: #dolphin, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D26029
Diffstat (limited to 'src/search/dolphinfacetswidget.h')
-rw-r--r--src/search/dolphinfacetswidget.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/search/dolphinfacetswidget.h b/src/search/dolphinfacetswidget.h
index 5325074c6..84029c20f 100644
--- a/src/search/dolphinfacetswidget.h
+++ b/src/search/dolphinfacetswidget.h
@@ -52,13 +52,12 @@ public:
explicit DolphinFacetsWidget(QWidget* parent = nullptr);
~DolphinFacetsWidget() override;
- void resetOptions();
-
- QString ratingTerm() const;
+ QString searchTerms() const;
QString facetType() const;
- bool isRatingTerm(const QString& term) const;
- void setRatingTerm(const QString& term);
+ bool isSearchTerm(const QString& term) const;
+ void setSearchTerm(const QString& term);
+ void resetSearchTerms();
void setFacetType(const QString& type);