From 732697d0d6fcc3a834a85865dcd88870e127711b Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Sat, 21 Dec 2019 19:41:44 +0100 Subject: 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 --- src/search/dolphinfacetswidget.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/search/dolphinfacetswidget.h') 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); -- cgit v1.3.1