Diffstat (limited to 'core/pim/datebook2/bookmanager.h') (more/less context) (show 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 @@ -21,4 +21,5 @@ namespace Datebook { bool isLoaded()const; bool load(); + void reload(); bool save(); @@ -29,10 +30,14 @@ namespace Datebook { 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; }; } |