[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-05-03 7:55:14
Message-ID: 20100503075514.843CFAC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1122110 by trueg:

Adding a set of new methods to ComparisonTerm which provide some
nice query features:
- setAggregateFunction() allows to count, sum, and so on the results 
  instead of returning the actual values.
- setVariableName allows to include the matched values in the final
  results - as such it is a more generic variant of Query::addRequestProperty.
- setSortWeight allows to change the sorting of the results in the final
  query including a sort order.
These new methods introduce a new level of power in the query API which 
I hope more people than the Telepathy devels and me will appreciate.

Also one little new operator from Soprano is needed, thus, the new Soprano
2.4.63 dependancy. But it is Monday after all...


 M  +1 -1      CMakeLists.txt  
 M  +26 -0     nepomuk/Mainpage.dox  
 M  +141 -14   nepomuk/query/comparisonterm.cpp  
 M  +216 -10   nepomuk/query/comparisonterm.h  
 M  +24 -2     nepomuk/query/comparisonterm_p.h  
 M  +18 -0     nepomuk/query/dbusoperators.cpp  
 M  +11 -5     nepomuk/query/query.cpp  
 M  +8 -2      nepomuk/query/query.h  
 M  +58 -1     nepomuk/query/querybuilderdata_p.h  
 M  +22 -2     nepomuk/query/result.cpp  
 M  +40 -2     nepomuk/query/result.h  
 M  +2 -0      nepomuk/query/test/CMakeLists.txt  
 M  +203 -0    nepomuk/query/test/querytest.cpp  


http://websvn.kde.org/?view=rev&revision=1122110
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic