┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/searchcriterionselector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/searchcriterionselector.h')
-rw-r--r--src/search/searchcriterionselector.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/search/searchcriterionselector.h b/src/search/searchcriterionselector.h
index f0eab1ac4..7b0bc018d 100644
--- a/src/search/searchcriterionselector.h
+++ b/src/search/searchcriterionselector.h
@@ -25,6 +25,8 @@
#include <QString>
#include <QWidget>
+#define DISABLE_NEPOMUK_LEGACY
+#include <nepomuk/term.h>
#include <search/searchcriteriondescription.h>
class SearchCriterionValue;
@@ -50,11 +52,8 @@ public:
SearchCriterionSelector(Type type, QWidget* parent = 0);
virtual ~SearchCriterionSelector();
- /**
- * Converts the string representation of the criterion.
- * The string is conform to get added to a nepomuk:/-URI.
- */
- QString toString() const;
+ /** Returns the query-term for the criterion. */
+ Nepomuk::Query::Term queryTerm() const;
Type type() const;