Diffstat (limited to 'libopie/pim/opimnotifymanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/opimnotifymanager.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libopie/pim/opimnotifymanager.h b/libopie/pim/opimnotifymanager.h index 48410e7..f3c22f9 100644 --- a/libopie/pim/opimnotifymanager.h +++ b/libopie/pim/opimnotifymanager.h | |||
@@ -19,14 +19,29 @@ public: | |||
19 | void add( const OPimNotify& ); | 19 | void add( const OPimNotify& ); |
20 | void remove( const OPimNotify& ); | 20 | void remove( const OPimNotify& ); |
21 | /* replaces all with this one! */ | 21 | /* replaces all with this one! */ |
22 | void replace( const OPimNotify& ); | 22 | void replace( const OPimNotify& ); |
23 | 23 | ||
24 | Reminders reminders()const; | 24 | Reminders reminders()const; |
25 | |||
26 | /** | ||
27 | * Return | ||
28 | */ | ||
25 | Alarms alarms()const; | 29 | Alarms alarms()const; |
26 | 30 | ||
31 | /** | ||
32 | * Return alarm at DateTime "when". If more than one is registered at this | ||
33 | * DateTime, the first one is returned. | ||
34 | * If none was found, an empty Alarm is returned. | ||
35 | * @param when The date and time of the returned alarm | ||
36 | * @param found Returns true if anything was found. | ||
37 | * @return Returns the found alarm at given DateTime. It is empty if found is false | ||
38 | * (nothing could be found at given date and time) | ||
39 | */ | ||
40 | OPimAlarm alarmAtDateTime( const QDateTime& when, bool& found ) const; | ||
41 | |||
27 | void setAlarms( const Alarms& ); | 42 | void setAlarms( const Alarms& ); |
28 | void setReminders( const Reminders& ); | 43 | void setReminders( const Reminders& ); |
29 | 44 | ||
30 | /* register is a Ansi C keyword... */ | 45 | /* register is a Ansi C keyword... */ |
31 | /** | 46 | /** |
32 | * This function will register the Notify to the Alarm Server | 47 | * This function will register the Notify to the Alarm Server |