From 7662e0e4d4053d223ad45cf28eea7697dde4f2f4 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 24 Nov 2009 07:15:24 +0000 Subject: Prepare the search criterion selector to use the new Nepomuk::Query::Term instead of a QString. The implementation still needs to be adapted, but this will be straight forward. svn path=/trunk/KDE/kdebase/apps/; revision=1053447 --- src/search/searchcriterionselector.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/search/searchcriterionselector.h') 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 #include +#define DISABLE_NEPOMUK_LEGACY +#include #include 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; -- cgit v1.3.1