libkcal

KCal::Journal Class Reference

#include <journal.h>

Inheritance diagram for KCal::Journal:
KCal::Incidence KCal::IncidenceBase KCal::CustomProperties

Public Types

typedef ListBase< JournalList
 
- Public Types inherited from KCal::Incidence
enum  Status {
  StatusNone , StatusTentative , StatusConfirmed , StatusCompleted ,
  StatusNeedsAction , StatusCanceled , StatusInProcess , StatusDraft ,
  StatusFinal , StatusX
}
 
enum  { SecrecyPublic = 0 , SecrecyPrivate = 1 , SecrecyConfidential = 2 }
 
typedef ListBase< IncidenceList
 
- Public Types inherited from KCal::IncidenceBase
enum  { SYNCNONE = 0 , SYNCMOD = 1 , SYNCDEL = 3 }
 

Public Member Functions

bool accept (Visitor &v)
 
bool operator== (const Journal &) const
 
TQCString type () const
 
Journalclone ()
 
- Public Member Functions inherited from KCal::Incidence
 Incidence (const Incidence &)
 
Incidenceoperator= (const Incidence &i)
 
bool operator== (const Incidence &) const
 
void setReadOnly (bool readonly)
 
void setFloats (bool f)
 
void recreate ()
 
void setCreated (const TQDateTime &)
 
TQDateTime created () const
 
void setRevision (int rev)
 
int revision () const
 
virtual void setDtStart (const TQDateTime &dtStart)
 
virtual TQDateTime dtEnd () const
 
void setDescription (const TQString &description)
 
TQString description () const
 
void setSummary (const TQString &summary)
 
TQString summary () const
 
void setCategories (const TQStringList &categories)
 
void setCategories (const TQString &catStr)
 
TQStringList categories () const
 
TQString categoriesStr () const
 
void setRelatedToUid (const TQString &)
 
TQString relatedToUid () const
 
void setRelatedTo (Incidence *relatedTo)
 
IncidencerelatedTo () const
 
Incidence::List relations () const
 
void addRelation (Incidence *)
 
void removeRelation (Incidence *)
 
Recurrencerecurrence () const
 
void clearRecurrence ()
 
bool doesRecur () const
 
uint recurrenceType () const
 
virtual bool recursOn (const TQDate &qd) const
 
bool recursAt (const TQDateTime &qdt) const
 
virtual bool recursOn (const TQDate &qd, Calendar *cal) const
 
bool recursAt (const TQDateTime &qdt, Calendar *cal) const
 
virtual TQValueList< TQDateTime > startDateTimesForDate (const TQDate &date) const
 
virtual TQValueList< TQDateTime > startDateTimesForDateTime (const TQDateTime &datetime) const
 
virtual TQDateTime endDateForStart (const TQDateTime &startDt) const
 
void addAttachment (Attachment *attachment)
 
void deleteAttachment (Attachment *attachment)
 
void deleteAttachments (const TQString &mime)
 
Attachment::List attachments () const
 
Attachment::List attachments (const TQString &mime) const
 
void clearAttachments ()
 
void setSecrecy (int)
 
int secrecy () const
 
TQString secrecyStr () const
 
void setStatus (Status status)
 
void setCustomStatus (const TQString &status)
 
Status status () const
 
TQString statusStr () const
 
void setResources (const TQStringList &resources)
 
TQStringList resources () const
 
void setPriority (int priority)
 
int priority () const
 
bool hasRecurrenceID () const
 
void setHasRecurrenceID (bool hasRecurrenceID)
 
void setRecurrenceID (const TQDateTime &recurrenceID)
 
TQDateTime recurrenceID () const
 
void addChildIncidence (TQString childIncidence)
 
void deleteChildIncidence (TQString childIncidence)
 
IncidenceList childIncidences () const
 
const Alarm::Listalarms () const
 
AlarmnewAlarm ()
 
void addAlarm (Alarm *)
 
void removeAlarm (Alarm *)
 
void clearAlarms ()
 
bool isAlarmEnabled () const
 
void setLocation (const TQString &location)
 
TQString location () const
 
void setSchedulingID (const TQString &sid)
 
TQString schedulingID () const
 
virtual void recurrenceUpdated (Recurrence *)
 
- Public Member Functions inherited from KCal::IncidenceBase
 IncidenceBase (const IncidenceBase &)
 
IncidenceBaseoperator= (const IncidenceBase &i)
 
bool operator== (const IncidenceBase &) const
 
void setUid (const TQString &)
 
TQString uid () const
 
void setLastModified (const TQDateTime &lm)
 
TQDateTime lastModified () const
 
void setOrganizer (const Person &o)
 
void setOrganizer (const TQString &o)
 
Person organizer () const
 
bool isReadOnly () const
 
virtual TQDateTime dtStart () const
 
virtual TDE_DEPRECATED TQString dtStartTimeStr () const
 
virtual TDE_DEPRECATED TQString dtStartDateStr (bool shortfmt=true) const
 
virtual TDE_DEPRECATED TQString 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 TQString &comment)
 
bool removeComment (const TQString &comment)
 
void clearComments ()
 
TQStringList comments () const
 
void addAttendee (Attendee *attendee, bool doUpdate=true)
 
void clearAttendees ()
 
const Attendee::Listattendees () const
 
int attendeeCount () const
 
AttendeeattendeeByMail (const TQString &) const
 
AttendeeattendeeByMails (const TQStringList &, const TQString &email=TQString()) const
 
AttendeeattendeeByUid (const TQString &uid) const
 
void setSyncStatus (int status)
 
void setSyncStatusSilent (int status)
 
int syncStatus () const
 
void setPilotId (unsigned long id)
 
unsigned long pilotId () const
 
void registerObserver (Observer *)
 
void unRegisterObserver (Observer *)
 
void updated ()
 
void updatedSilent ()
 
- Public Member Functions inherited from KCal::CustomProperties
 CustomProperties ()
 
 CustomProperties (const CustomProperties &)
 
bool operator== (const CustomProperties &) const
 
void setCustomProperty (const TQCString &app, const TQCString &key, const TQString &value)
 
void removeCustomProperty (const TQCString &app, const TQCString &key)
 
TQString customProperty (const TQCString &app, const TQCString &key) const
 
void setNonKDECustomProperty (const TQCString &name, const TQString &value)
 
void removeNonKDECustomProperty (const TQCString &name)
 
TQString nonKDECustomProperty (const TQCString &name) const
 
void setCustomProperties (const TQMap< TQCString, TQString > &properties)
 
TQMap< TQCString, TQString > customProperties () const
 

Additional Inherited Members

- Static Public Member Functions inherited from KCal::Incidence
static TQStringList secrecyList ()
 
static TQString secrecyName (int)
 
static TQString statusName (Status)
 
- Protected Member Functions inherited from KCal::Incidence
virtual TQDateTime endDateRecurrenceBase () const
 
- Protected Member Functions inherited from KCal::IncidenceBase
virtual void customPropertyUpdated ()
 
- Protected Attributes inherited from KCal::IncidenceBase
bool mReadOnly
 

Detailed Description

This class provides a Journal in the sense of RFC2445.

Definition at line 33 of file journal.h.

Member Function Documentation

◆ accept()

bool KCal::Journal::accept ( Visitor )
inlinevirtual

Accept IncidenceVisitor.

A class taking part in the visitor mechanism has to provide this implementation:

  bool accept(Visitor &v) { return v.visit(this); }

Reimplemented from KCal::IncidenceBase.

Definition at line 40 of file journal.h.

◆ clone()

Journal * Journal::clone ( )
virtual

Return copy of this Journal.

The caller owns the returned object.

Implements KCal::Incidence.

Definition at line 34 of file journal.cpp.


The documentation for this class was generated from the following files: