-rw-r--r-- | libkcal/calendarlocal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libkcal/calendarlocal.h b/libkcal/calendarlocal.h index 98ec710..b25fcbe 100644 --- a/libkcal/calendarlocal.h +++ b/libkcal/calendarlocal.h | |||
@@ -171,24 +171,27 @@ class CalendarLocal : public Calendar | |||
171 | */ | 171 | */ |
172 | QPtrList<Event> rawEventsForDate( const QDateTime &qdt ); | 172 | QPtrList<Event> rawEventsForDate( const QDateTime &qdt ); |
173 | /** | 173 | /** |
174 | Get unfiltered events in a range of dates. If inclusive is set to true, | 174 | Get unfiltered events in a range of dates. If inclusive is set to true, |
175 | only events are returned, which are completely included in the range. | 175 | only events are returned, which are completely included in the range. |
176 | */ | 176 | */ |
177 | QPtrList<Event> rawEvents( const QDate &start, const QDate &end, | 177 | QPtrList<Event> rawEvents( const QDate &start, const QDate &end, |
178 | bool inclusive = false ); | 178 | bool inclusive = false ); |
179 | Todo *todo( QString, QString ); | 179 | Todo *todo( QString, QString ); |
180 | Event *event( QString, QString ); | 180 | Event *event( QString, QString ); |
181 | 181 | ||
182 | 182 | ||
183 | void setCalendarEnabled( int id, bool enable ); | ||
184 | void setAlarmEnabled( int id, bool enable ); | ||
185 | void setDefaultCalendarEnabledOnly(); | ||
183 | 186 | ||
184 | protected: | 187 | protected: |
185 | 188 | ||
186 | // Event* mNextAlarmEvent; | 189 | // Event* mNextAlarmEvent; |
187 | QString mNextSummary; | 190 | QString mNextSummary; |
188 | QString mNextAlarmEventDateTimeString; | 191 | QString mNextAlarmEventDateTimeString; |
189 | QString mLastAlarmNotificationString; | 192 | QString mLastAlarmNotificationString; |
190 | QDateTime mNextAlarmEventDateTime; | 193 | QDateTime mNextAlarmEventDateTime; |
191 | QDateTime mNextAlarmDateTime; | 194 | QDateTime mNextAlarmDateTime; |
192 | void reInitAlarmSettings(); | 195 | void reInitAlarmSettings(); |
193 | 196 | ||
194 | /** Notification function of IncidenceBase::Observer. */ | 197 | /** Notification function of IncidenceBase::Observer. */ |