summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core
authorzecke <zecke>2003-05-12 13:18:29 (UTC)
committer zecke <zecke>2003-05-12 13:18:29 (UTC)
commitc2602b4c290a14f4655d7e07eea20b55c1f38c8e (patch) (unidiff)
tree1e08388bf45e65df75722af3a76a256b3178dc86 /libopie2/opiepim/core
parentd6e4c1a54185b1aa4443cb79a36acc637acf84ac (diff)
downloadopie-c2602b4c290a14f4655d7e07eea20b55c1f38c8e.zip
opie-c2602b4c290a14f4655d7e07eea20b55c1f38c8e.tar.gz
opie-c2602b4c290a14f4655d7e07eea20b55c1f38c8e.tar.bz2
Add a comment
Diffstat (limited to 'libopie2/opiepim/core') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimnotify.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/opimnotify.h b/libopie2/opiepim/core/opimnotify.h
index b0de000..58417db 100644
--- a/libopie2/opiepim/core/opimnotify.h
+++ b/libopie2/opiepim/core/opimnotify.h
@@ -81,48 +81,50 @@ public:
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
91private: 91private:
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
100}; 100};
101 101
102/** 102/**
103 * A Reminder will be put into the 103 * A Reminder will be put into the
104 * datebook 104 * datebook
105 * Note that the returned dateTime() may be not valid.
106 * In these cases one must resolve the uid and get the OEvent
105 */ 107 */
106class OPimReminder : public OPimNotify { 108class OPimReminder : public OPimNotify {
107public: 109public:
108 110
109 /** 111 /**
110 * c'tor of a reminder 112 * c'tor of a reminder
111 * @param uid The uid of the Record inside the Datebook 113 * @param uid The uid of the Record inside the Datebook
112 * @param start the StartDate invalid for all day... 114 * @param start the StartDate invalid for all day...
113 * @param duration The duration of the event ( -1 for all day ) 115 * @param duration The duration of the event ( -1 for all day )
114 * @param parent The 'parent' record of this reminder 116 * @param parent The 'parent' record of this reminder
115 */ 117 */
116 OPimReminder( int uid = 0, const QDateTime& start = QDateTime(), 118 OPimReminder( int uid = 0, const QDateTime& start = QDateTime(),
117 int duration = 0, int parent = 0 ); 119 int duration = 0, int parent = 0 );
118 OPimReminder( const OPimReminder& ); 120 OPimReminder( const OPimReminder& );
119 OPimReminder &operator=(const OPimReminder& ); 121 OPimReminder &operator=(const OPimReminder& );
120 122
121 QString type()const; 123 QString type()const;
122 124
123 bool operator==( const OPimReminder& ); 125 bool operator==( const OPimReminder& );
124 126
125 /** 127 /**
126 * the uid of the alarm 128 * the uid of the alarm
127 * inside the 'datebook' application 129 * inside the 'datebook' application
128 */ 130 */