diff options
| author | Peter Penz <[email protected]> | 2009-11-24 07:15:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-11-24 07:15:24 +0000 |
| commit | 7662e0e4d4053d223ad45cf28eea7697dde4f2f4 (patch) | |
| tree | 15df3f0c203c00ea7b2308751d110ba250852ebc /src/search/searchcriterionselector.h | |
| parent | 61813e0df76f050dfa8de8e3f2220566b4013dec (diff) | |
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
Diffstat (limited to 'src/search/searchcriterionselector.h')
| -rw-r--r-- | src/search/searchcriterionselector.h | 9 |
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; |
