-rw-r--r-- | libkcal/incidence.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkcal/incidence.h b/libkcal/incidence.h index 60070a2..327e7dd 100644 --- a/libkcal/incidence.h +++ b/libkcal/incidence.h | |||
@@ -137,48 +137,49 @@ class Incidence : public IncidenceBase | |||
137 | 137 | ||
138 | /** Set starting date/time. */ | 138 | /** Set starting date/time. */ |
139 | virtual void setDtStart(const QDateTime &dtStart); | 139 | virtual void setDtStart(const QDateTime &dtStart); |
140 | /** Return the incidence's ending date/time as a QDateTime. */ | 140 | /** Return the incidence's ending date/time as a QDateTime. */ |
141 | virtual QDateTime dtEnd() const { return QDateTime(); } | 141 | virtual QDateTime dtEnd() const { return QDateTime(); } |
142 | 142 | ||
143 | /** sets the event's lengthy description. */ | 143 | /** sets the event's lengthy description. */ |
144 | void setDescription(const QString &description); | 144 | void setDescription(const QString &description); |
145 | /** returns a reference to the event's description. */ | 145 | /** returns a reference to the event's description. */ |
146 | QString description() const; | 146 | QString description() const; |
147 | 147 | ||
148 | /** sets the event's short summary. */ | 148 | /** sets the event's short summary. */ |
149 | void setSummary(const QString &summary); | 149 | void setSummary(const QString &summary); |
150 | /** returns a reference to the event's summary. */ | 150 | /** returns a reference to the event's summary. */ |
151 | QString summary() const; | 151 | QString summary() const; |
152 | 152 | ||
153 | /** set event's applicable categories */ | 153 | /** set event's applicable categories */ |
154 | void setCategories(const QStringList &categories); | 154 | void setCategories(const QStringList &categories); |
155 | /** set event's categories based on a comma delimited string */ | 155 | /** set event's categories based on a comma delimited string */ |
156 | void setCategories(const QString &catStr); | 156 | void setCategories(const QString &catStr); |
157 | /** return categories in a list */ | 157 | /** return categories in a list */ |
158 | QStringList categories() const; | 158 | QStringList categories() const; |
159 | /** return categories as a comma separated string */ | 159 | /** return categories as a comma separated string */ |
160 | QString categoriesStr(); | 160 | QString categoriesStr(); |
161 | QString categoriesStrWithSpace(); | ||
161 | 162 | ||
162 | /** point at some other event to which the event relates. This function should | 163 | /** point at some other event to which the event relates. This function should |
163 | * only be used when constructing a calendar before the related Event | 164 | * only be used when constructing a calendar before the related Event |
164 | * exists. */ | 165 | * exists. */ |
165 | void setRelatedToUid(const QString &); | 166 | void setRelatedToUid(const QString &); |
166 | /** what event does this one relate to? This function should | 167 | /** what event does this one relate to? This function should |
167 | * only be used when constructing a calendar before the related Event | 168 | * only be used when constructing a calendar before the related Event |
168 | * exists. */ | 169 | * exists. */ |
169 | QString relatedToUid() const; | 170 | QString relatedToUid() const; |
170 | /** point at some other event to which the event relates */ | 171 | /** point at some other event to which the event relates */ |
171 | void setRelatedTo(Incidence *relatedTo); | 172 | void setRelatedTo(Incidence *relatedTo); |
172 | /** what event does this one relate to? */ | 173 | /** what event does this one relate to? */ |
173 | Incidence *relatedTo() const; | 174 | Incidence *relatedTo() const; |
174 | /** All events that are related to this event */ | 175 | /** All events that are related to this event */ |
175 | QPtrList<Incidence> relations() const; | 176 | QPtrList<Incidence> relations() const; |
176 | /** Add an event which is related to this event */ | 177 | /** Add an event which is related to this event */ |
177 | void addRelation(Incidence *); | 178 | void addRelation(Incidence *); |
178 | /** Remove event that is related to this event */ | 179 | /** Remove event that is related to this event */ |
179 | void removeRelation(Incidence *); | 180 | void removeRelation(Incidence *); |
180 | 181 | ||
181 | /** returns the list of dates which are exceptions to the recurrence rule */ | 182 | /** returns the list of dates which are exceptions to the recurrence rule */ |
182 | DateList exDates() const; | 183 | DateList exDates() const; |
183 | /** sets the list of dates which are exceptions to the recurrence rule */ | 184 | /** sets the list of dates which are exceptions to the recurrence rule */ |
184 | void setExDates(const DateList &_exDates); | 185 | void setExDates(const DateList &_exDates); |