summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/bookmanager.h
Unidiff
Diffstat (limited to 'core/pim/datebook2/bookmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/bookmanager.h7
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 {
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 );
@@ -28,12 +29,16 @@ namespace Datebook {
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