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 'libopie2/opiepim/backend/otodoaccesssql.h') diff --git a/libopie2/opiepim/backend/otodoaccesssql.h b/libopie2/opiepim/backend/otodoaccesssql.h index 0f6dd2c..6a4257c 100644 --- a/libopie2/opiepim/backend/otodoaccesssql.h +++ b/libopie2/opiepim/backend/otodoaccesssql.h @@ -18,7 +18,7 @@ public: bool save(); QArray allRecords()const; - QArray queryByExample( const OTodo& t, int sort ); + QArray queryByExample( const OTodo& t, int settings, const QDateTime& d = QDateTime() ); OTodo find(int uid)const; OTodo find(int uid, const QArray&, uint cur, Frontend::CacheDirection )const; void clear(); -- cgit v0.9.0.2