libopie PIM API Documentation

odatebookaccess.h

Go to the documentation of this file.
00001 #ifndef OPIE_DATE_BOOK_ACCESS_H
00002 #define OPIE_DATE_BOOK_ACCESS_H
00003 
00004 #include "odatebookaccessbackend.h"
00005 #include "opimaccesstemplate.h"
00006 
00007 #include "oevent.h"
00008 
00018 class ODateBookAccess : public OPimAccessTemplate<OEvent> {
00019 public:
00020     ODateBookAccess( ODateBookAccessBackend* = 0l, enum Access acc = Random );
00021     ~ODateBookAccess();
00022 
00023     /* return all events */
00024     List rawEvents()const;
00025 
00026     /* return repeating events */
00027     List rawRepeats()const;
00028 
00029     /* return non repeating events */
00030     List nonRepeats()const;
00031 
00032     /* return non repeating events (from,to) */
00033     OEffectiveEvent::ValueList effectiveEvents( const QDate& from, const QDate& to ) const;
00034     OEffectiveEvent::ValueList effectiveEvents( const QDateTime& start ) const;
00035     OEffectiveEvent::ValueList effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) const;
00036     OEffectiveEvent::ValueList effectiveNonRepeatingEvents( const QDateTime& start ) const;
00037 
00038 private:
00039     ODateBookAccessBackend* m_backEnd;
00040     class Private;
00041     Private* d;
00042 };
00043 
00044 #endif
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:25:19 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001