From d31e0363e905aae78034626896b0d6620ffbc8fc Mon Sep 17 00:00:00 2001 From: hakan Date: Fri, 29 Mar 2002 16:32:49 +0000 Subject: Added getEvent(uid) and a fix reassigning uids to events whos uids have been cleared --- (limited to 'library/datebookdb.h') diff --git a/library/datebookdb.h b/library/datebookdb.h index aadb397..e4c251c 100644 --- a/library/datebookdb.h +++ b/library/datebookdb.h @@ -44,6 +44,7 @@ public: QValueList getEffectiveEvents( const QDate &from, const QDate &to ); QValueList getEffectiveEvents( const QDateTime &start ); + Event getEvent( int uid ); QValueList getRawRepeats() const; QValueList getNonRepeatingEvents( const QDate &from, @@ -78,6 +79,8 @@ private: QValueList repeatEvents; // the repeating events... DateBookDBPrivate *d; QFile journalFile; + + int recordIdMax; // ADDITION }; /* helper functions, also useful to other apps. */ -- cgit v0.9.0.2