summaryrefslogtreecommitdiff
path: root/libopie/pim/odatebookaccess.h
Side-by-side diff
Diffstat (limited to 'libopie/pim/odatebookaccess.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/odatebookaccess.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/libopie/pim/odatebookaccess.h b/libopie/pim/odatebookaccess.h
deleted file mode 100644
index 62196da..0000000
--- a/libopie/pim/odatebookaccess.h
+++ b/dev/null
@@ -1,44 +0,0 @@
-#ifndef OPIE_DATE_BOOK_ACCESS_H
-#define OPIE_DATE_BOOK_ACCESS_H
-
-#include "odatebookaccessbackend.h"
-#include "opimaccesstemplate.h"
-
-#include "oevent.h"
-
-/**
- * This is the object orientated datebook database. It'll use OBackendFactory
- * to query for a backend.
- * All access to the datebook should be done via this class.
- * Make sure to load and save the datebook this is not part of
- * destructing and creating the object
- *
- * @author Holger Freyther, Stefan Eilers
- */
-class ODateBookAccess : public OPimAccessTemplate<OEvent> {
-public:
- ODateBookAccess( ODateBookAccessBackend* = 0l, enum Access acc = Random );
- ~ODateBookAccess();
-
- /* return all events */
- List rawEvents()const;
-
- /* return repeating events */
- List rawRepeats()const;
-
- /* return non repeating events */
- List nonRepeats()const;
-
- /* return non repeating events (from,to) */
- OEffectiveEvent::ValueList effectiveEvents( const QDate& from, const QDate& to ) const;
- OEffectiveEvent::ValueList effectiveEvents( const QDateTime& start ) const;
- OEffectiveEvent::ValueList effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) const;
- OEffectiveEvent::ValueList effectiveNonRepeatingEvents( const QDateTime& start ) const;
-
-private:
- ODateBookAccessBackend* m_backEnd;
- class Private;
- Private* d;
-};
-
-#endif