author | zecke <zecke> | 2003-02-21 23:31:52 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-21 23:31:52 (UTC) |
commit | 46f47c0a1e542a8b4222f3ced8f3304534c7509d (patch) (unidiff) | |
tree | 82dc97a07bae77387987711c0c21697691955937 /libopie/pim/opimnotify.h | |
parent | a7448ec87d97a0128618e83ad7526bd884ef8853 (diff) | |
download | opie-46f47c0a1e542a8b4222f3ced8f3304534c7509d.zip opie-46f47c0a1e542a8b4222f3ced8f3304534c7509d.tar.gz opie-46f47c0a1e542a8b4222f3ced8f3304534c7509d.tar.bz2 |
Add XML datebookresource
-clean up todoaccessxml header
-implement some more stuff in the oeven tester
-extend DefaultFactory to not crash and to use datebook
-reading of OEvents is working nicely.. saving will be added
tomorrow
-fix spelling in ODateBookAcces
-rw-r--r-- | libopie/pim/opimnotify.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/pim/opimnotify.h b/libopie/pim/opimnotify.h index 3501948..b0de000 100644 --- a/libopie/pim/opimnotify.h +++ b/libopie/pim/opimnotify.h | |||
@@ -51,49 +51,49 @@ public: | |||
51 | void setDateTime( const QDateTime& ); | 51 | void setDateTime( const QDateTime& ); |
52 | void setDuration( int dur ); | 52 | void setDuration( int dur ); |
53 | void setParent(int uid ); | 53 | void setParent(int uid ); |
54 | void setService( const QString& ); | 54 | void setService( const QString& ); |
55 | 55 | ||
56 | 56 | ||
57 | private: | 57 | private: |
58 | inline void copyIntern(); | 58 | inline void copyIntern(); |
59 | void deref(); | 59 | void deref(); |
60 | struct Data; | 60 | struct Data; |
61 | Data* data; | 61 | Data* data; |
62 | 62 | ||
63 | /* d-pointer */ | 63 | /* d-pointer */ |
64 | class NotifyPrivate; | 64 | class NotifyPrivate; |
65 | NotifyPrivate* d; | 65 | NotifyPrivate* d; |
66 | 66 | ||
67 | }; | 67 | }; |
68 | /** | 68 | /** |
69 | * An alarm is a sound/mail/buzzer played/send | 69 | * An alarm is a sound/mail/buzzer played/send |
70 | * at a given time to inform about | 70 | * at a given time to inform about |
71 | * an Event | 71 | * an Event |
72 | */ | 72 | */ |
73 | class OPimAlarm : public OPimNotify { | 73 | class OPimAlarm : public OPimNotify { |
74 | public: | 74 | public: |
75 | enum Sound{Loud=0, Silent, Custom }; | 75 | enum Sound{Loud=1, Silent=0, Custom=2 }; |
76 | OPimAlarm( int sound = Silent, const QDateTime& start = QDateTime(), int duration = 0, int parent = 0 ); | 76 | OPimAlarm( int sound = Silent, const QDateTime& start = QDateTime(), int duration = 0, int parent = 0 ); |
77 | OPimAlarm( const OPimAlarm& ); | 77 | OPimAlarm( const OPimAlarm& ); |
78 | ~OPimAlarm(); | 78 | ~OPimAlarm(); |
79 | 79 | ||
80 | OPimAlarm &operator=( const OPimAlarm& ); | 80 | OPimAlarm &operator=( const OPimAlarm& ); |
81 | bool operator==( const OPimAlarm& ); | 81 | bool operator==( const OPimAlarm& ); |
82 | QString type()const; | 82 | QString type()const; |
83 | 83 | ||
84 | int sound()const; | 84 | int sound()const; |
85 | QString file()const; | 85 | QString file()const; |
86 | 86 | ||
87 | void setSound( int ); | 87 | void setSound( int ); |
88 | /* only when sound is custom... */ | 88 | /* only when sound is custom... */ |
89 | void setFile( const QString& sound ); | 89 | void setFile( const QString& sound ); |
90 | 90 | ||
91 | private: | 91 | private: |
92 | void deref(); | 92 | void deref(); |
93 | void copyIntern(); | 93 | void copyIntern(); |
94 | struct Data; | 94 | struct Data; |
95 | Data * data; | 95 | Data * data; |
96 | 96 | ||
97 | class Private; | 97 | class Private; |
98 | Private* d; | 98 | Private* d; |
99 | 99 | ||