author | zecke <zecke> | 2003-02-23 21:27:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-23 21:27:08 (UTC) |
commit | 041eda0d7482d60cd67731b81fd36104fcd3120f (patch) (side-by-side diff) | |
tree | c7bc7730b9e76e22f828291d404821f7bd922d6f /core/pim/datebook2/bookmanager.h | |
parent | a195865dfdb03b4c7c972acfc8cfd87743ab3e6f (diff) | |
download | opie-041eda0d7482d60cd67731b81fd36104fcd3120f.zip opie-041eda0d7482d60cd67731b81fd36104fcd3120f.tar.gz opie-041eda0d7482d60cd67731b81fd36104fcd3120f.tar.bz2 |
Implement some of the new framework
Diffstat (limited to 'core/pim/datebook2/bookmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook2/bookmanager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/datebook2/bookmanager.h b/core/pim/datebook2/bookmanager.h index 44ad8ed..c5dee4a 100644 --- a/core/pim/datebook2/bookmanager.h +++ b/core/pim/datebook2/bookmanager.h @@ -20,6 +20,7 @@ namespace Datebook { bool isLoaded()const; bool load(); + void reload(); bool save(); OEvent event( int uid ); @@ -28,12 +29,16 @@ namespace Datebook { ODateBookAccess::List allRecords()const; void add( const OEvent& ); + void add( const OPimRecord& ); void update( const OEvent& ); void remove( int uid ); void remove( const QArray<int>& ); - QPtrList<OPimRecord> records( const QDate& from, + QList<OPimRecord> records( const QDate& from, const QDate& to ); + + private: + ODateBookAccess* m_db; }; } |