author | eilers <eilers> | 2004-01-16 13:37:03 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-01-16 13:37:03 (UTC) |
commit | 839775ea257f2c9be752a77c41a09416469df591 (patch) (side-by-side diff) | |
tree | d856530aad005f66adae3634bd384d3d02bb6c95 /libopie/pim/opimnotifymanager.h | |
parent | f7936b488e81f8706c4ea900979f2ea70734cfe9 (diff) | |
download | opie-839775ea257f2c9be752a77c41a09416469df591.zip opie-839775ea257f2c9be752a77c41a09416469df591.tar.gz opie-839775ea257f2c9be752a77c41a09416469df591.tar.bz2 |
Some changes to handle alarms for datebook-sql db..
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 @@ -23,6 +23,21 @@ public: Reminders reminders()const; + + /** + * Return + */ Alarms alarms()const; + /** + * Return alarm at DateTime "when". If more than one is registered at this + * DateTime, the first one is returned. + * If none was found, an empty Alarm is returned. + * @param when The date and time of the returned alarm + * @param found Returns true if anything was found. + * @return Returns the found alarm at given DateTime. It is empty if found is false + * (nothing could be found at given date and time) + */ + OPimAlarm alarmAtDateTime( const QDateTime& when, bool& found ) const; + void setAlarms( const Alarms& ); void setReminders( const Reminders& ); |