From 8136284c38384b169cd2843ee61480d45b6c1cba Mon Sep 17 00:00:00 2001 From: eilers Date: Fri, 21 Mar 2003 10:33:09 +0000 Subject: Merged speed optimized xml backend for contacts to main. Added QDateTime to querybyexample. For instance, it is now possible to get all Birthdays/Anniversaries between two dates. This should be used to show all birthdays in the datebook.. This change is sourcecode backward compatible but you have to upgrade the binaries for today-addressbook. --- (limited to 'libopie/pim/opimaccessbackend.h') diff --git a/libopie/pim/opimaccessbackend.h b/libopie/pim/opimaccessbackend.h index e268f4f..01a0c86 100644 --- a/libopie/pim/opimaccessbackend.h +++ b/libopie/pim/opimaccessbackend.h @@ -47,10 +47,10 @@ public: virtual QArray allRecords()const = 0; /** - * queryByExample for T with the SortOrder - * sort + * queryByExample for T with the given Settings + * */ - virtual QArray queryByExample( const T& t, int sort ) = 0; + virtual QArray queryByExample( const T& t, int settings, const QDateTime& d = QDateTime() ) = 0; /** * find the OPimRecord with uid @param uid -- cgit v0.9.0.2