┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinfacetswidget.h
diff options
context:
space:
mode:
authorVishesh Handa <[email protected]>2015-05-05 16:32:23 +0200
committerVishesh Handa <[email protected]>2015-05-11 10:31:49 +0200
commit9d4ad66abeb77072135a409c33c745f680856332 (patch)
treeeca01b817ba02c0d1cee59ba1d8121df8218d94e /src/search/dolphinfacetswidget.h
parente69d3489751ea15c0477fe1d41fcc252c775d377 (diff)
Move away from Baloo::Term
Baloo is set to become a framework and wants to only export the bare minimum number of classes as it will need to provide ABI + API guarentees forever. The Term class is now no longer exported. It can be added back again. REVIEW: 123643
Diffstat (limited to 'src/search/dolphinfacetswidget.h')
-rw-r--r--src/search/dolphinfacetswidget.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/search/dolphinfacetswidget.h b/src/search/dolphinfacetswidget.h
index 03fb1279d..6f0f0a619 100644
--- a/src/search/dolphinfacetswidget.h
+++ b/src/search/dolphinfacetswidget.h
@@ -22,11 +22,6 @@
#include <QWidget>
-#include <config-baloo.h>
-#ifdef HAVE_BALOO
- #include <Baloo/Term>
-#endif
-
class QButtonGroup;
class QDate;
class QRadioButton;
@@ -55,13 +50,11 @@ public:
explicit DolphinFacetsWidget(QWidget* parent = 0);
virtual ~DolphinFacetsWidget();
-#ifdef HAVE_BALOO
- Baloo::Term ratingTerm() const;
+ QString ratingTerm() const;
QString facetType() const;
- bool isRatingTerm(const Baloo::Term& term) const;
- void setRatingTerm(const Baloo::Term& term);
-#endif
+ bool isRatingTerm(const QString& term) const;
+ void setRatingTerm(const QString& term);
void setFacetType(const QString& type);