libopie PIM API Documentation

otodoaccessvcal.h

Go to the documentation of this file.
00001 #ifndef OPIE_OTODO_ACCESS_VCAL_H
00002 #define OPIE_OTODO_ACCESS_VCAL_H
00003 
00004 #include "otodoaccessbackend.h"
00005 
00006 class OTodoAccessVCal : public OTodoAccessBackend {
00007 public:
00008     OTodoAccessVCal(const QString& );
00009     ~OTodoAccessVCal();
00010 
00011     bool load();
00012     bool reload();
00013     bool save();
00014 
00015     QArray<int> allRecords()const;
00016     QArray<int> matchRegexp(const QRegExp &r) const;
00017     QArray<int> queryByExample( const OTodo& t, int sort, const QDateTime& d = QDateTime() );
00018     QArray<int> effectiveToDos( const QDate& start,
00019                                 const QDate& end,
00020                                 bool includeNoDates );
00021     QArray<int> overDue();
00022     QArray<int> sorted( bool asc, int sortOrder, int sortFilter,
00023                         int cat );
00024     OTodo find(int uid)const;
00025     void clear();
00026     bool add( const OTodo& );
00027     bool remove( int uid );
00028     bool replace( const OTodo& );
00029 
00030     void removeAllCompleted();
00031     virtual QBitArray supports()const;
00032 
00033 private:
00034     static QBitArray sup();
00035     bool m_dirty : 1;
00036     QString m_file;
00037     QMap<int, OTodo> m_map;
00038 };
00039 
00040 #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:22 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001