KCal::IncidenceBase Class Reference
This class provides the base class common to all calendar components. More...
#include <incidencebase.h>
Inherits KCal::CustomProperties.
Inherited by KCal::FreeBusy, and KCal::Incidence.
Public Types
- enum { SYNCNONE = 0, SYNCMOD = 1, SYNCDEL = 3 }
Public Member Functions
- IncidenceBase (const IncidenceBase &)
- bool operator== (const IncidenceBase &) const
- virtual bool accept (Visitor &)
- virtual QCString type () const =0
- void setUid (const QString &)
- QString uid () const
- void setLastModified (const QDateTime &lm)
- QDateTime lastModified () const
- void setOrganizer (const Person &o)
- void setOrganizer (const QString &o)
- Person organizer () const
- virtual void setReadOnly (bool)
- bool isReadOnly () const
- virtual void setDtStart (const QDateTime &dtStart)
- virtual QDateTime dtStart () const
- virtual QString dtStartTimeStr () const
- virtual QString dtStartDateStr (bool shortfmt=true) const
- virtual QString dtStartStr () const
- virtual void setDuration (int seconds)
- int duration () const
- void setHasDuration (bool)
- bool hasDuration () const
- bool doesFloat () const
- void setFloats (bool f)
- void addComment (const QString &comment)
- bool removeComment (const QString &comment)
- void clearComments ()
- QStringList comments () const
- void addAttendee (Attendee *attendee, bool doUpdate=true)
- void clearAttendees ()
- const Attendee::List & attendees () const
- int attendeeCount () const
- Attendee * attendeeByMail (const QString &) const
- Attendee * attendeeByMails (const QStringList &, const QString &email=QString::null) const
- Attendee * attendeeByUid (const QString &uid) const
- void setSyncStatus (int status)
- int syncStatus () const
- void setPilotId (unsigned long id)
- unsigned long pilotId () const
- void registerObserver (Observer *)
- void unRegisterObserver (Observer *)
- void updated ()
Protected Attributes
Classes
Detailed Description
This class provides the base class common to all calendar components.
Member Enumeration Documentation
|
Pilot synchronization states.
|
Member Function Documentation
|
Accept IncidenceVisitor. A class taking part in the visitor mechanism has to provide this implementation: bool accept(Visitor &v) { return v.visit(this); } Reimplemented in KCal::Journal. |
|
Set the unique id for the event.
|
|
Return the unique id for the event.
|
|
Sets the time the incidence was last modified.
|
|
Return the time the incidence was last modified.
|
|
sets the organizer for the event
|
|
Set readonly status.
Reimplemented in KCal::Incidence. |
|
Return if the object is read-only.
|
|
for setting the event's starting date/time with a QDateTime.
Reimplemented in KCal::Incidence, and KCal::Todo. |
|
returns an event's starting date/time as a QDateTime.
|
|
returns an event's starting time as a string formatted according to the users locale settings
|
|
returns an event's starting date as a string formatted according to the users locale settings
|
|
returns an event's starting date and time as a string formatted according to the users locale settings
|
|
Return true or false depending on whether the incidence "floats," i.e. has a date but no time attached to it. |
|
Set whether the incidence floats, i.e. has a date but no time attached to it. |
|
Add a comment to this incidence. Does not add a linefeed character. Just appends the text as passed in.
|
|
Remove a comment from the event. Removes first comment whose string is an exact match for the string passed in.
|
|
Delete all comments associated with this incidence.
|
|
Return all comments associated with this incidence.
|
|
Add Attendee to this incidence. IncidenceBase takes ownership of the Attendee object.
|
|
Remove all Attendees.
|
|
Return list of attendees.
|
|
Return number of attendees.
|
|
Return the Attendee with this email address.
|
|
Return first Attendee with one of the given email addresses.
|
|
Return attendee with given uid.
|
|
Set synchronisation satus.
|
|
Return synchronisation status.
|
|
Set Pilot Id.
|
|
Return Pilot Id.
|
|
Register observer. The observer is notified when the observed object changes. |
|
Unregister observer. It isn't notified anymore about changes. |
|
Call this to notify the observers after the IncidenceBas object has changed.
|
The documentation for this class was generated from the following files:
- incidencebase.h
- incidencebase.cpp