Diff of /trunk/KDE/kdepimlibs/akonadi/contact/contactsearchjob.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1129173, Sat Mar 20 20:25:35 2010 UTC revision 1129174, Fri May 21 14:03:45 2010 UTC
# Line 102  void ContactSearchJob::setQuery( Criteri Line 102  void ContactSearchJob::setQuery( Criteri
102            "    ?r a nco:PersonContact . "            "    ?r a nco:PersonContact . "
103            "    { ?r nco:fullname \"%1\"^^<http://www.w3.org/2001/XMLSchema#string>. } "            "    { ?r nco:fullname \"%1\"^^<http://www.w3.org/2001/XMLSchema#string>. } "
104            "    UNION "            "    UNION "
105              "    { ?r nco:nameGiven \"%1\"^^<http://www.w3.org/2001/XMLSchema#string>. } "
106              "    UNION "
107              "    { ?r nco:nameFamily \"%1\"^^<http://www.w3.org/2001/XMLSchema#string>. } "
108              "    UNION "
109            "    { ?r nco:hasEmailAddress ?email . "            "    { ?r nco:hasEmailAddress ?email . "
110            "      ?email nco:emailAddress \"%1\"^^<http://www.w3.org/2001/XMLSchema#string> . } "            "      ?email nco:emailAddress \"%1\"^^<http://www.w3.org/2001/XMLSchema#string> . } "
111            "  } "            "  } "
# Line 152  void ContactSearchJob::setQuery( Criteri Line 156  void ContactSearchJob::setQuery( Criteri
156            "    { ?r nco:fullname ?v . "            "    { ?r nco:fullname ?v . "
157            "      ?v bif:contains \"'%1*'\" . } "            "      ?v bif:contains \"'%1*'\" . } "
158            "    UNION "            "    UNION "
159              "    { ?r nco:nameGiven ?v . "
160              "      ?v bif:contains \"'%1*'\" . } "
161              "    UNION "
162              "    { ?r nco:nameFamily ?v . "
163              "      ?v bif:contains \"'%1*'\" . } "
164              "    UNION "
165            "    { ?r nco:hasEmailAddress ?email . "            "    { ?r nco:hasEmailAddress ?email . "
166            "      ?email nco:emailAddress ?v . "            "      ?email nco:emailAddress ?v . "
167            "      ?v bif:contains \"'%1*'\" . } "            "      ?v bif:contains \"'%1*'\" . } "
# Line 203  void ContactSearchJob::setQuery( Criteri Line 213  void ContactSearchJob::setQuery( Criteri
213            "    { ?r nco:fullname ?v . "            "    { ?r nco:fullname ?v . "
214            "      ?v bif:contains \"'%1'\" . } "            "      ?v bif:contains \"'%1'\" . } "
215            "    UNION "            "    UNION "
216              "    { ?r nco:nameGiven ?v . "
217              "      ?v bif:contains \"'%1'\" . } "
218              "    UNION "
219              "    { ?r nco:nameFamily ?v . "
220              "      ?v bif:contains \"'%1'\" . } "
221              "    UNION "
222            "    { ?r nco:hasEmailAddress ?email . "            "    { ?r nco:hasEmailAddress ?email . "
223            "      ?email nco:emailAddress ?v . "            "      ?email nco:emailAddress ?v . "
224            "      ?v bif:contains \"'%1'\" . } "            "      ?v bif:contains \"'%1'\" . } "

Legend:
Removed from v.1129173  
changed lines
  Added in v.1129174