#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/opimnotifymanager.h>
Collaboration diagram for 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 11 of file opimnotifymanager.h.
|
|
Definition at line 14 of file opimnotifymanager.h. |
|
|
Definition at line 13 of file opimnotifymanager.h. |
|
||||||||||||
|
Definition at line 7 of file opimnotifymanager.cpp. |
|
|
Definition at line 10 of file opimnotifymanager.cpp. |
|
|
Definition at line 13 of file opimnotifymanager.cpp. References QValueList< T >::append(), QString::fromLatin1(), m_al, m_rem, rem, and OPimNotify::type(). Referenced by alarmsFromString(), Opie::OPimNotifyManager::alarmsFromString(), remindersFromString(), Opie::OPimNotifyManager::remindersFromString(), and OTodoAccessXML::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 48 of file opimnotifymanager.cpp. References QValueList< T >::begin(), empty, QValueList< T >::end(), and m_al. |
|
|
Return Definition at line 45 of file opimnotifymanager.cpp. References m_al. Referenced by alarmsToString(), Opie::OPimNotifyManager::alarmsToString(), OEvent::hasNotifiers(), and OTodoAccessXML::toString(). |
|
|
Convert string to alarms
Definition at line 139 of file opimnotifymanager.cpp. References add(), QValueList< T >::begin(), OConversion::dateTimeFromString(), QValueList< T >::end(), QStringList::join(), qWarning(), QStringList::split(), and TRUE. Referenced by OTodoAccessBackendSQL::todo(). |
|
|
Return all alarms as string Definition at line 98 of file opimnotifymanager.cpp. References alarms(), QValueList< T >::begin(), OConversion::dateTimeToString(), QValueList< T >::end(), QValueList< T >::isEmpty(), QStringList::join(), m_al, QString::number(), qWarning(), and str. |
|
|
this will do the opposite.. Definition at line 87 of file opimnotifymanager.cpp. |
|
|
Definition at line 91 of file opimnotifymanager.cpp. References QValueList< T >::count(), QValueList< T >::isEmpty(), m_al, m_rem, and qWarning(). Referenced by OTodo::hasNotifiers(). |
|
|
This function will register the Notify to the Alarm Server or datebook depending on the type of the notify Definition at line 78 of file opimnotifymanager.cpp. |
|
|
Definition at line 42 of file opimnotifymanager.cpp. References m_rem. Referenced by OEvent::hasNotifiers(), remindersToString(), Opie::OPimNotifyManager::remindersToString(), and OTodoAccessXML::toString(). |
|
|
Convert string to reminders
Definition at line 153 of file opimnotifymanager.cpp. References add(), QValueList< T >::begin(), QValueList< T >::end(), rem, and QStringList::split(). Referenced by OTodoAccessBackendSQL::todo(). |
|
|
Return all notifiers as string Definition at line 122 of file opimnotifymanager.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QValueList< T >::isEmpty(), QStringList::join(), m_rem, QString::number(), reminders(), and str. |
|
|
Definition at line 22 of file opimnotifymanager.cpp. References QString::fromLatin1(), m_al, m_rem, rem, and QValueList< T >::remove(). |
|
|
Definition at line 31 of file opimnotifymanager.cpp. References QValueList< T >::append(), QString::fromLatin1(), m_al, m_rem, rem, and QValueList< T >::remove(). |
|
|
Definition at line 64 of file opimnotifymanager.cpp. References m_al. |
|
|
Definition at line 67 of file opimnotifymanager.cpp. References m_rem. |
|
|
Definition at line 86 of file opimnotifymanager.h. |
|
|
1.4.2