From ea3945a9bd8f9830f70b1efa133f9df13b19362f Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 16 Nov 2004 19:14:18 +0000 Subject: libopie1 goes into unsupported --- (limited to 'noncore/unsupported/libopie/pim/otodoaccessvcal.h') diff --git a/noncore/unsupported/libopie/pim/otodoaccessvcal.h b/noncore/unsupported/libopie/pim/otodoaccessvcal.h new file mode 100644 index 0000000..2b17147 --- a/dev/null +++ b/noncore/unsupported/libopie/pim/otodoaccessvcal.h @@ -0,0 +1,40 @@ +#ifndef OPIE_OTODO_ACCESS_VCAL_H +#define OPIE_OTODO_ACCESS_VCAL_H + +#include "otodoaccessbackend.h" + +class OTodoAccessVCal : public OTodoAccessBackend { +public: + OTodoAccessVCal(const QString& ); + ~OTodoAccessVCal(); + + bool load(); + bool reload(); + bool save(); + + QArray allRecords()const; + QArray matchRegexp(const QRegExp &r) const; + QArray queryByExample( const OTodo& t, int sort, const QDateTime& d = QDateTime() ); + QArray effectiveToDos( const QDate& start, + const QDate& end, + bool includeNoDates ); + QArray overDue(); + QArray sorted( bool asc, int sortOrder, int sortFilter, + int cat ); + OTodo find(int uid)const; + void clear(); + bool add( const OTodo& ); + bool remove( int uid ); + bool replace( const OTodo& ); + + void removeAllCompleted(); + virtual QBitArray supports()const; + +private: + static QBitArray sup(); + bool m_dirty : 1; + QString m_file; + QMap m_map; +}; + +#endif -- cgit v0.9.0.2