OPimNotifyManager Class Reference
The notify manager keeps track of the Notifiers.... More...
#include <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 |
| Return. | |
| OPimAlarm | alarmAtDateTime (const QDateTime &when, bool &found) const |
| Return alarm at DateTime "when". | |
| void | setAlarms (const Alarms &) |
| void | setReminders (const Reminders &) |
| void | registerNotify (const OPimNotify &) |
| This function will register the Notify to the Alarm Server or datebook depending on the type of the notify. | |
| void | deregister (const OPimNotify &) |
| this will do the opposite.. | |
| bool | isEmpty () const |
| QString | alarmsToString () const |
| Return all alarms as string. | |
| QString | remindersToString () const |
| Return all notifiers as string. | |
| void | alarmsFromString (const QString &str) |
| Convert string to alarms. | |
| void | remindersFromString (const QString &str) |
| Convert string to reminders. | |
Detailed Description
The notify manager keeps track of the Notifiers....
Definition at line 11 of file opimnotifymanager.h.
Member Typedef Documentation
|
|
Definition at line 13 of file opimnotifymanager.h. Referenced by OPimNotifyManager(), reminders(), remindersToString(), and setReminders(). |
|
|
Definition at line 14 of file opimnotifymanager.h. Referenced by alarms(), alarmsToString(), OPimNotifyManager(), and setAlarms(). |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 7 of file opimnotifymanager.cpp. |
|
|
Definition at line 10 of file opimnotifymanager.cpp. |
Member Function Documentation
|
|
Definition at line 13 of file opimnotifymanager.cpp. References QValueList::append(), QString::fromLatin1(), and OPimNotify::type(). Referenced by alarmsFromString(), OEvent::fromMap(), and remindersFromString(). |
|
|
Definition at line 22 of file opimnotifymanager.cpp. References QString::fromLatin1(), QValueList::remove(), and OPimNotify::type(). |
|
|
Definition at line 31 of file opimnotifymanager.cpp. References QValueList::append(), QString::fromLatin1(), QValueList::remove(), and OPimNotify::type(). |
|
|
Definition at line 42 of file opimnotifymanager.cpp. References Reminders. Referenced by remindersToString(). |
|
|
Return.
Definition at line 45 of file opimnotifymanager.cpp. References Alarms. Referenced by alarmsToString(), and save(). |
|
||||||||||||
|
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::begin(), and QValueList::end(). |
|
|
Definition at line 64 of file opimnotifymanager.cpp. References Alarms. |
|
|
Definition at line 67 of file opimnotifymanager.cpp. References Reminders. |
|
|
This function will register the Notify to the Alarm Server or datebook depending on the type of the notify. Qtopia1.6 services would be kewl to have here.... Definition at line 78 of file opimnotifymanager.cpp. |
|
|
this will do the opposite.. Also implement Url model have a MainWindow.... Definition at line 87 of file opimnotifymanager.cpp. |
|
|
Definition at line 91 of file opimnotifymanager.cpp. |
|
|
Return all alarms as string.
Definition at line 98 of file opimnotifymanager.cpp. References alarms(), Alarms, QValueList::begin(), OConversion::dateTimeToString(), QValueList::end(), QValueList::isEmpty(), QStringList::join(), and QString::number(). |
|
|
Return all notifiers as string.
Definition at line 122 of file opimnotifymanager.cpp. References QValueList::begin(), QValueList::end(), QValueList::isEmpty(), QStringList::join(), QString::number(), reminders(), and Reminders. |
|
|
Convert string to alarms.
Definition at line 139 of file opimnotifymanager.cpp. References add(), QValueList::begin(), QValueList::end(), QStringList::join(), and QStringList::split(). |
|
|
Convert string to reminders.
Definition at line 153 of file opimnotifymanager.cpp. References add(), QValueList::begin(), QValueList::end(), and QStringList::split(). |
The documentation for this class was generated from the following files:
