#include </home/clem/local/src/opie/libopie2/opiepim/core/opimnotifymanager.h>
Collaboration diagram for Opie::OPimNotifyManager:

Public Types | |
| typedef QValueList< OPimReminder > | Reminders |
| typedef QValueList< OPimAlarm > | Alarms |
Public Member Functions | |
| OPimNotifyManager (const Reminders &rems=Reminders(), const Alarms &alarms=Alarms()) | |
| ~OPimNotifyManager () | |
| void | add (const OPimNotify &) |
| void | remove (const OPimNotify &) |
| void | replace (const OPimNotify &) |
| Reminders | reminders () const |
| Alarms | alarms () const |
| OPimAlarm | alarmAtDateTime (const QDateTime &when, bool &found) const |
| void | setAlarms (const Alarms &) |
| void | setReminders (const Reminders &) |
| void | registerNotify (const OPimNotify &) |
| void | deregister (const OPimNotify &) |
| bool | isEmpty () const |
| QString | alarmsToString () const |
| QString | remindersToString () const |
| void | alarmsFromString (const QString &str) |
| void | remindersFromString (const QString &str) |
Private Attributes | |
| Reminders | m_rem |
| Alarms | m_al |
| Private * | d |
Definition at line 43 of file opimnotifymanager.h.
|
|
Definition at line 47 of file opimnotifymanager.h. |
|
|
Definition at line 46 of file opimnotifymanager.h. |
|
||||||||||||
|
Definition at line 42 of file opimnotifymanager.cpp. |
|
|
Definition at line 47 of file opimnotifymanager.cpp. |
|
|
Definition at line 52 of file opimnotifymanager.cpp. References QValueList< T >::append(), QString::fromLatin1(), OPimNotifyManager::m_al, OPimNotifyManager::m_rem, rem, and Opie::OPimNotify::type(). Referenced by Opie::OPimTodoAccessXML::todo(). |
|
||||||||||||
|
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.
Definition at line 111 of file opimnotifymanager.cpp. References QValueList< T >::begin(), empty, QValueList< T >::end(), and OPimNotifyManager::m_al. |
|
|
Return Definition at line 105 of file opimnotifymanager.cpp. References OPimNotifyManager::m_al. Referenced by Opie::OPimEvent::hasNotifiers(), Opie::Internal::testAlarmNotifiers(), and Opie::OPimTodoAccessXML::toString(). |
|
|
Convert string to alarms
Definition at line 221 of file opimnotifymanager.cpp. References OPimNotifyManager::add(), QValueList< T >::begin(), QValueList< T >::end(), QStringList::split(), and TRUE. |
|
|
Return all alarms as string Definition at line 173 of file opimnotifymanager.cpp. References OPimNotifyManager::alarms(), QValueList< T >::begin(), QValueList< T >::end(), QValueList< T >::isEmpty(), QStringList::join(), OPimNotifyManager::m_al, QString::number(), and str. |
|
|
this will do the opposite.. Definition at line 160 of file opimnotifymanager.cpp. |
|
|
Definition at line 165 of file opimnotifymanager.cpp. References QValueList< T >::isEmpty(), OPimNotifyManager::m_al, and OPimNotifyManager::m_rem. Referenced by Opie::OPimTodo::hasNotifiers(). |
|
|
This function will register the Notify to the Alarm Server or datebook depending on the type of the notify Definition at line 149 of file opimnotifymanager.cpp. |
|
|
Definition at line 99 of file opimnotifymanager.cpp. References OPimNotifyManager::m_rem. Referenced by Opie::OPimEvent::hasNotifiers(), and Opie::OPimTodoAccessXML::toString(). |
|
|
Convert string to reminders
Definition at line 234 of file opimnotifymanager.cpp. References OPimNotifyManager::add(), QValueList< T >::begin(), QValueList< T >::end(), rem, and QStringList::split(). |
|
|
Return all notifiers as string Definition at line 201 of file opimnotifymanager.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QValueList< T >::isEmpty(), QStringList::join(), OPimNotifyManager::m_rem, QString::number(), OPimNotifyManager::reminders(), and str. |
|
|
Definition at line 67 of file opimnotifymanager.cpp. References QString::fromLatin1(), OPimNotifyManager::m_al, OPimNotifyManager::m_rem, rem, and QValueList< T >::remove(). |
|
|
Definition at line 82 of file opimnotifymanager.cpp. References QValueList< T >::append(), QString::fromLatin1(), OPimNotifyManager::m_al, OPimNotifyManager::m_rem, rem, and QValueList< T >::remove(). |
|
|
Definition at line 129 of file opimnotifymanager.cpp. References OPimNotifyManager::m_al. Referenced by TaskEditorAlarms::save(). |
|
|
Definition at line 135 of file opimnotifymanager.cpp. References OPimNotifyManager::m_rem. |
|
|
Definition at line 117 of file opimnotifymanager.h. |
|
|
Definition at line 115 of file opimnotifymanager.h. |
|
|
Definition at line 114 of file opimnotifymanager.h. |
1.4.2