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 | |||
@@ -17,24 +17,29 @@ namespace Datebook { | |||
17 | public: | 17 | public: |
18 | BookManager(); | 18 | BookManager(); |
19 | ~BookManager(); | 19 | ~BookManager(); |
20 | 20 | ||
21 | bool isLoaded()const; | 21 | bool isLoaded()const; |
22 | bool load(); | 22 | bool load(); |
23 | void reload(); | ||
23 | bool save(); | 24 | bool save(); |
24 | 25 | ||
25 | OEvent event( int uid ); | 26 | OEvent event( int uid ); |
26 | OEffectiveEvent::ValueList list( const QDate& from, | 27 | OEffectiveEvent::ValueList list( const QDate& from, |
27 | const QDate& to ); | 28 | const QDate& to ); |
28 | ODateBookAccess::List allRecords()const; | 29 | ODateBookAccess::List allRecords()const; |
29 | 30 | ||
30 | void add( const OEvent& ); | 31 | void add( const OEvent& ); |
32 | void add( const OPimRecord& ); | ||
31 | void update( const OEvent& ); | 33 | void update( const OEvent& ); |
32 | void remove( int uid ); | 34 | void remove( int uid ); |
33 | void remove( const QArray<int>& ); | 35 | void remove( const QArray<int>& ); |
34 | 36 | ||
35 | QPtrList<OPimRecord> records( const QDate& from, | 37 | QList<OPimRecord> records( const QDate& from, |
36 | const QDate& to ); | 38 | const QDate& to ); |
39 | |||
40 | private: | ||
41 | ODateBookAccess* m_db; | ||
37 | }; | 42 | }; |
38 | } | 43 | } |
39 | 44 | ||
40 | #endif | 45 | #endif |