KCal Library
Go to the documentation of this file.
54 #ifndef KCAL_INCIDENCEBASE_H
55 #define KCAL_INCIDENCEBASE_H
62 #include <kdatetime.h>
64 #include <QtCore/QStringList>
65 #include <QtCore/QByteArray>
123 virtual bool visit(
Event *event );
130 virtual bool visit(
Todo *todo );
137 virtual bool visit(
Journal *journal );
144 virtual bool visit(
FreeBusy *freebusy );
171 virtual void incidenceUpdated(
IncidenceBase *incidenceBase ) = 0;
237 virtual QByteArray type()
const = 0;
251 void setUid(
const QString &uid );
273 void setLastModified(
const KDateTime &lm );
280 KDateTime lastModified()
const;
288 void setOrganizer(
const Person &organizer );
296 void setOrganizer(
const QString &organizer );
312 virtual void setReadOnly(
bool readOnly );
328 virtual void setDtStart(
const KDateTime &dtStart );
334 virtual KDateTime dtStart()
const;
347 virtual KDE_DEPRECATED QString dtStartTimeStr(
348 bool shortfmt =
true,
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
361 virtual KDE_DEPRECATED QString dtStartDateStr(
362 bool shortfmt =
true,
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
375 virtual KDE_DEPRECATED QString dtStartStr(
376 bool shortfmt =
true,
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
385 virtual void setDuration(
const Duration &duration );
401 void setHasDuration(
bool hasDuration );
408 bool hasDuration()
const;
426 void setAllDay(
bool allDay );
442 virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
443 const KDateTime::Spec &newSpec );
452 void addComment(
const QString &comment );
462 bool removeComment(
const QString &comment );
467 void clearComments();
472 QStringList comments()
const;
481 void addAttendee(
Attendee *attendee,
bool doUpdate =
true );
486 void clearAttendees();
496 int attendeeCount()
const;
505 Attendee *attendeeByMail(
const QString &email )
const;
517 Attendee *attendeeByMails(
const QStringList &emails,
518 const QString &email = QString() )
const;
526 Attendee *attendeeByUid(
const QString &uid )
const;
536 void registerObserver( IncidenceObserver *observer );
545 void unRegisterObserver( IncidenceObserver *observer );
572 virtual void customPropertyUpdated();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:29:15 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.