SVN commit 1212682 by trueg: * Moved the prepareForSparql method body into the toSparqlQueryPattern methods of the individual terms. This makes the code a bit cleaner and better structured. * Properly handle ResourceTerm as a top-level term. M +17 -2 query/andterm.cpp M +18 -1 query/andterm_p.h M +5 -3 query/comparisonterm.cpp M +1 -1 query/comparisonterm_p.h M +3 -1 query/literalterm.cpp M +1 -1 query/literalterm_p.h M +32 -3 query/negationterm.cpp M +1 -1 query/negationterm_p.h M +4 -2 query/optionalterm.cpp M +1 -1 query/optionalterm_p.h M +4 -2 query/orterm.cpp M +1 -1 query/orterm_p.h M +2 -80 query/query.cpp M +33 -2 query/resourceterm.cpp M +1 -1 query/resourceterm_p.h M +3 -1 query/resourcetypeterm.cpp M +1 -1 query/resourcetypeterm_p.h M +1 -1 query/term_p.h M +15 -4 test/querytest.cpp http://websvn.kde.org/?view=rev&revision=1212682