diff options
Diffstat (limited to 'kresources/birthdays/resourcekabc.h')
-rw-r--r-- | kresources/birthdays/resourcekabc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/kresources/birthdays/resourcekabc.h b/kresources/birthdays/resourcekabc.h index eebe087e9..9dedd0ab6 100644 --- a/kresources/birthdays/resourcekabc.h +++ b/kresources/birthdays/resourcekabc.h @@ -76,7 +76,8 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar KABC::Lock *lock(); /** Add Event to calendar. */ - bool addEvent(Event *anEvent); + KDE_DEPRECATED bool addEvent(Event *event); + bool addEvent( Event *event, const TQString &subresource ); /** deletes an event from this calendar. */ bool deleteEvent(Event *); @@ -107,7 +108,8 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar /** Add a todo to the todolist. */ - bool addTodo( Todo *todo ); + KDE_DEPRECATED bool addTodo( Todo *todo ); + bool addTodo( Todo *todo, const TQString &subresource ); /** Remove a todo from the todolist. */ @@ -126,7 +128,9 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar */ Todo::List rawTodosForDate( const TQDate &date ); /** Add a Journal entry to calendar */ - virtual bool addJournal(Journal *); + KDE_DEPRECATED bool addJournal( Journal *journal ); + bool addJournal( Journal *journal, const TQString &subresource ); + /** Remove journal from the calendar. */ bool deleteJournal( Journal * ); /** Return Journal with given UID */ |