summaryrefslogtreecommitdiffabout
path: root/libkcal/icalformatimpl.h
Side-by-side diff
Diffstat (limited to 'libkcal/icalformatimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/icalformatimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/icalformatimpl.h b/libkcal/icalformatimpl.h
index 2f32365..203c302 100644
--- a/libkcal/icalformatimpl.h
+++ b/libkcal/icalformatimpl.h
@@ -34,49 +34,49 @@ namespace KCal {
class Compat;
/**
This class provides the libical dependent functions for ICalFormat.
*/
class ICalFormatImpl {
public:
/** Create new iCal format for calendar object */
ICalFormatImpl( ICalFormat *parent );
virtual ~ICalFormatImpl();
bool populate( Calendar *, icalcomponent *fs);
icalcomponent *writeIncidence(Incidence *incidence);
icalcomponent *writeTodo(Todo *todo);
icalcomponent *writeEvent(Event *event);
icalcomponent *writeFreeBusy(FreeBusy *freebusy,
Scheduler::Method method);
icalcomponent *writeJournal(Journal *journal);
void writeIncidence(icalcomponent *parent,Incidence *incidence);
icalproperty *writeAttendee(Attendee *attendee);
icalproperty *writeAttachment(Attachment *attach);
icalproperty *writeRecurrenceRule(Recurrence *);
- icalproperty *writeAlarm(Alarm *alarm);
+ icalcomponent *writeAlarm(Alarm *alarm);
QString extractErrorProperty(icalcomponent *);
Todo *readTodo(icalcomponent *vtodo);
Event *readEvent(icalcomponent *vevent);
FreeBusy *readFreeBusy(icalcomponent *vfreebusy);
Journal *readJournal(icalcomponent *vjournal);
Attendee *readAttendee(icalproperty *attendee);
Attachment *readAttachment(icalproperty *attach);
void readIncidence(icalcomponent *parent,Incidence *incidence);
void readRecurrenceRule(struct icalrecurrencetype rrule,Incidence *event);
void readRecurrence( const struct icalrecurrencetype &r, Recurrence* recur,Incidence *event );
void readAlarm(icalcomponent *alarm,Incidence *incidence);
/** Return the PRODID string loaded from calendar file */
const QString &loadedProductId() { return mLoadedProductId; }
icaltimetype writeICalDate(const QDate &);
QDate readICalDate(icaltimetype);
icaltimetype writeICalDateTime(const QDateTime &);
QDateTime readICalDateTime(icaltimetype);
icaldurationtype writeICalDuration(int seconds);
int readICalDuration(icaldurationtype);
icalcomponent *createCalendarComponent(Calendar * = 0);
icalcomponent *createScheduleComponent(IncidenceBase *,Scheduler::Method);