-rw-r--r-- | libkcal/calendarlocal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkcal/calendarlocal.h b/libkcal/calendarlocal.h index eb7bf34..b70f0c9 100644 --- a/libkcal/calendarlocal.h +++ b/libkcal/calendarlocal.h | |||
@@ -173,48 +173,49 @@ class CalendarLocal : public Calendar | |||
173 | Builds and then returns a list of all events that match for the | 173 | Builds and then returns a list of all events that match for the |
174 | date specified. useful for dayView, etc. etc. | 174 | date specified. useful for dayView, etc. etc. |
175 | */ | 175 | */ |
176 | QPtrList<Event> rawEventsForDate( const QDate &date, bool sorted = false ); | 176 | QPtrList<Event> rawEventsForDate( const QDate &date, bool sorted = false ); |
177 | /** | 177 | /** |
178 | Get unfiltered events for date \a qdt. | 178 | Get unfiltered events for date \a qdt. |
179 | */ | 179 | */ |
180 | QPtrList<Event> rawEventsForDate( const QDateTime &qdt ); | 180 | QPtrList<Event> rawEventsForDate( const QDateTime &qdt ); |
181 | /** | 181 | /** |
182 | Get unfiltered events in a range of dates. If inclusive is set to true, | 182 | Get unfiltered events in a range of dates. If inclusive is set to true, |
183 | only events are returned, which are completely included in the range. | 183 | only events are returned, which are completely included in the range. |
184 | */ | 184 | */ |
185 | QPtrList<Event> rawEvents( const QDate &start, const QDate &end, | 185 | QPtrList<Event> rawEvents( const QDate &start, const QDate &end, |
186 | bool inclusive = false ); | 186 | bool inclusive = false ); |
187 | Todo *todo( QString, QString ); | 187 | Todo *todo( QString, QString ); |
188 | Event *event( QString, QString ); | 188 | Event *event( QString, QString ); |
189 | void getIncidenceCount( int calId, int& events, int & todos, int & journals); | 189 | void getIncidenceCount( int calId, int& events, int & todos, int & journals); |
190 | 190 | ||
191 | public slots: | 191 | public slots: |
192 | void setCalendarEnabled( int id, bool enable ); | 192 | void setCalendarEnabled( int id, bool enable ); |
193 | void setAlarmEnabled( int id, bool enable ); | 193 | void setAlarmEnabled( int id, bool enable ); |
194 | void setReadOnly( int id, bool enable ); | 194 | void setReadOnly( int id, bool enable ); |
195 | void setDefaultCalendarEnabledOnly(); | 195 | void setDefaultCalendarEnabledOnly(); |
196 | void setCalendarRemove( int id ); | 196 | void setCalendarRemove( int id ); |
197 | void setAllCalendarEnabled( bool enable ); | ||
197 | 198 | ||
198 | protected: | 199 | protected: |
199 | 200 | ||
200 | // Event* mNextAlarmEvent; | 201 | // Event* mNextAlarmEvent; |
201 | QString mNextSummary; | 202 | QString mNextSummary; |
202 | QString mNextAlarmEventDateTimeString; | 203 | QString mNextAlarmEventDateTimeString; |
203 | QString mLastAlarmNotificationString; | 204 | QString mLastAlarmNotificationString; |
204 | QDateTime mNextAlarmEventDateTime; | 205 | QDateTime mNextAlarmEventDateTime; |
205 | QDateTime mNextAlarmDateTime; | 206 | QDateTime mNextAlarmDateTime; |
206 | void reInitAlarmSettings(); | 207 | void reInitAlarmSettings(); |
207 | 208 | ||
208 | /** Notification function of IncidenceBase::Observer. */ | 209 | /** Notification function of IncidenceBase::Observer. */ |
209 | void incidenceUpdated( IncidenceBase *i ) { update( i ); } | 210 | void incidenceUpdated( IncidenceBase *i ) { update( i ); } |
210 | 211 | ||
211 | /** inserts an event into its "proper place" in the calendar. */ | 212 | /** inserts an event into its "proper place" in the calendar. */ |
212 | void insertEvent( Event *event ); | 213 | void insertEvent( Event *event ); |
213 | 214 | ||
214 | /** Append alarms of incidence in interval to list of alarms. */ | 215 | /** Append alarms of incidence in interval to list of alarms. */ |
215 | void appendAlarms( Alarm::List &alarms, Incidence *incidence, | 216 | void appendAlarms( Alarm::List &alarms, Incidence *incidence, |
216 | const QDateTime &from, const QDateTime &to ); | 217 | const QDateTime &from, const QDateTime &to ); |
217 | 218 | ||
218 | /** Append alarms of recurring events in interval to list of alarms. */ | 219 | /** Append alarms of recurring events in interval to list of alarms. */ |
219 | void appendRecurringAlarms( Alarm::List &alarms, Incidence *incidence, | 220 | void appendRecurringAlarms( Alarm::List &alarms, Incidence *incidence, |
220 | const QDateTime &from, const QDateTime &to ); | 221 | const QDateTime &from, const QDateTime &to ); |