author | eilers <eilers> | 2003-10-20 15:58:00 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-10-20 15:58:00 (UTC) |
commit | fccc5d110dea3bc32176694c8e5fc7f014706be6 (patch) (unidiff) | |
tree | 6dd44a78cadfd55fc8935dc661318e3ab12dd7b7 /libopie2/opiepim/core/opimnotifymanager.h | |
parent | 758775c190470e569a0616bbd87d1a378c19b747 (diff) | |
download | opie-fccc5d110dea3bc32176694c8e5fc7f014706be6.zip opie-fccc5d110dea3bc32176694c8e5fc7f014706be6.tar.gz opie-fccc5d110dea3bc32176694c8e5fc7f014706be6.tar.bz2 |
Pushing todo closer to sql support. Recurrances and custom entries still missing.
But before I add this, I have to do some cleanup..
Diffstat (limited to 'libopie2/opiepim/core/opimnotifymanager.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimnotifymanager.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimnotifymanager.h b/libopie2/opiepim/core/opimnotifymanager.h index 0ac30a1..48410e7 100644 --- a/libopie2/opiepim/core/opimnotifymanager.h +++ b/libopie2/opiepim/core/opimnotifymanager.h | |||
@@ -30,25 +30,47 @@ public: | |||
30 | /* register is a Ansi C keyword... */ | 30 | /* register is a Ansi C keyword... */ |
31 | /** | 31 | /** |
32 | * This function will register the Notify to the Alarm Server | 32 | * This function will register the Notify to the Alarm Server |
33 | * or datebook depending on the type of the notify | 33 | * or datebook depending on the type of the notify |
34 | */ | 34 | */ |
35 | void registerNotify( const OPimNotify& ); | 35 | void registerNotify( const OPimNotify& ); |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * this will do the opposite.. | 38 | * this will do the opposite.. |
39 | */ | 39 | */ |
40 | void deregister( const OPimNotify& ); | 40 | void deregister( const OPimNotify& ); |
41 | 41 | ||
42 | |||
43 | bool isEmpty()const; | 42 | bool isEmpty()const; |
44 | 43 | ||
44 | /** | ||
45 | * Return all alarms as string | ||
46 | */ | ||
47 | QString alarmsToString() const; | ||
48 | /** | ||
49 | * Return all notifiers as string | ||
50 | */ | ||
51 | QString remindersToString() const; | ||
52 | |||
53 | /** | ||
54 | * Convert string to alarms | ||
55 | * @param str String created by alarmsToString() | ||
56 | */ | ||
57 | void alarmsFromString( const QString& str ); | ||
58 | |||
59 | /** | ||
60 | * Convert string to reminders | ||
61 | * @param str String created by remindersToString() | ||
62 | */ | ||
63 | void remindersFromString( const QString& str ); | ||
64 | |||
65 | |||
66 | |||
45 | private: | 67 | private: |
46 | Reminders m_rem; | 68 | Reminders m_rem; |
47 | Alarms m_al; | 69 | Alarms m_al; |
48 | 70 | ||
49 | class Private; | 71 | class Private; |
50 | Private *d; | 72 | Private *d; |
51 | 73 | ||
52 | }; | 74 | }; |
53 | 75 | ||
54 | #endif | 76 | #endif |