Revision 0877539...
Go back to digest for 26th January 2014Features in KDE-PIM
              Dan Vratil committed changes in [kdepimlibs/akonadi/server-search] /:  
              
                
              
Draft a very generic SearchQuery class
SearchQuery holds SearchTerms and represents a query for Akonadi SEARCH command.
It can be (de)serialized into a simple JSON structure.
A subclasses of SearchQuery should be created with predefined key and simple API
to set the conditions, for example EmailSerchQuery::sender(QString, Condition).
Also the unittest is very basic and could use a bit of extension.    
File Changes
Added  3 files  
                
                - akonadi/searchquery.cpp
 - akonadi/searchquery.h
 - akonadi/tests/searchquerytest.cpp
 
Modified  2 files  
                
                - akonadi/CMakeLists.txt
 - akonadi/tests/CMakeLists.txt
 
5 files changed in total  
              
                      KDE Commit-Digest