From 397a7b1635488deda02b36df70692e27f59bb3e0 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 22 Feb 2003 16:11:16 +0000 Subject: Implement saving of events Implement the ExceptionList Add Children and parent to OEvent Make ORecur honor exceptions Extend the test app to add and save --- (limited to 'libopie2/opiepim/oevent.h') diff --git a/libopie2/opiepim/oevent.h b/libopie2/opiepim/oevent.h index c718e2e..585515c 100644 --- a/libopie2/opiepim/oevent.h +++ b/libopie2/opiepim/oevent.h @@ -61,7 +61,7 @@ public: void setLocation( const QString& loc ); bool hasNotifiers()const; - OPimNotifyManager ¬ifiers(); + OPimNotifyManager ¬ifiers()const; ORecur recurrence()const; void setRecurrence( const ORecur& ); @@ -99,7 +99,15 @@ public: bool match( const QRegExp& )const; + /** For exception to recurrence here is a list of children... */ + QArray children()const; + void setChildren( const QArray& ); + void addChild( int uid ); + void removeChild( int uid ); + /** return the parent OEvent */ + int parent()const; + void setParent( int uid ); /* needed reimp */ -- cgit v0.9.0.2