libkcal

incidenceformatter.cpp File Reference

#include "incidenceformatter.h"
#include <libkcal/attachment.h>
#include <libkcal/event.h>
#include <libkcal/todo.h>
#include <libkcal/journal.h>
#include <libkcal/calendar.h>
#include <libkcal/calendarlocal.h>
#include <libkcal/icalformat.h>
#include <libkcal/freebusy.h>
#include <libkcal/calendarresources.h>
#include <libemailfunctions/email.h>
#include <ktnef/ktnefparser.h>
#include <ktnef/ktnefmessage.h>
#include <ktnef/ktnefdefs.h>
#include <kabc/phonenumber.h>
#include <kabc/vcardconverter.h>
#include <kabc/stdaddressbook.h>
#include <kapplication.h>
#include <klocale.h>
#include <kglobal.h>
#include <kiconloader.h>
#include <qbuffer.h>
#include <qstylesheet.h>
#include <qdatetime.h>
#include <time.h>

Include dependency graph for incidenceformatter.cpp:

Go to the source code of this file.


Functions

static QString eventEndTimeStr (Event *event)
static QString eventStartTimeStr (Event *event)
static QString eventViewerAddLink (const QString &ref, const QString &text, bool newline=true)
static QString eventViewerAddTag (const QString &tag, const QString &text)
static QString eventViewerFormatAttachments (Incidence *i)
static QString eventViewerFormatAttendees (Incidence *event)
static QString eventViewerFormatBirthday (Event *event)
static QString eventViewerFormatEvent (Event *event)
static QString eventViewerFormatFreeBusy (FreeBusy *fb)
static QString eventViewerFormatHeader (Incidence *incidence)
static QString eventViewerFormatJournal (Journal *journal)
static QString eventViewerFormatTodo (Todo *todo)
static bool incidenceOwnedByMe (Calendar *calendar, Incidence *incidence)
static QString invitationDetailsEvent (Event *event)
static QString invitationDetailsFreeBusy (FreeBusy *fb)
static QString invitationDetailsJournal (Journal *journal)
static QString invitationDetailsTodo (Todo *todo)
static QString invitationHeaderEvent (Event *event, ScheduleMessage *msg)
static QString invitationHeaderFreeBusy (FreeBusy *fb, ScheduleMessage *msg)
static QString invitationHeaderJournal (Journal *journal, ScheduleMessage *msg)
static QString invitationHeaderTodo (Todo *todo, ScheduleMessage *msg)
static QString invitationRow (const QString &cell1, const QString &cell2)
static QString invitationsDetailsIncidence (Incidence *incidence)
static QString linkPerson (const QString &email, QString name, QString uid)
static QString mailBodyIncidence (Incidence *incidence)
static QDateTime pureISOToLocalQDateTime (const QString &dtStr, bool bDateOnly=false)
static QString recurEnd (Incidence *incidence)
static struct save_tz set_tz (const char *_tc)
static QString sNamedProp (KTNEFMessage *tnefMsg, const QString &name, const QString &fallback=QString::null)
static QString string2HTML (const QString &str)
static QString stringProp (KTNEFMessage *tnefMsg, const Q_UINT32 &key, const QString &fallback=QString::null)
static void unset_tz (struct save_tz old_tz)
static QDateTime utc2Local (const QDateTime &utcdt)

Function Documentation

static QString eventEndTimeStr ( Event event  )  [static]

Definition at line 611 of file incidenceformatter.cpp.

static QString eventStartTimeStr ( Event event  )  [static]

Definition at line 598 of file incidenceformatter.cpp.

static QString eventViewerAddLink ( const QString ref,
const QString text,
bool  newline = true 
) [static]

Definition at line 65 of file incidenceformatter.cpp.

static QString eventViewerAddTag ( const QString tag,
const QString text 
) [static]

Definition at line 73 of file incidenceformatter.cpp.

static QString eventViewerFormatAttachments ( Incidence i  )  [static]

Definition at line 176 of file incidenceformatter.cpp.

static QString eventViewerFormatAttendees ( Incidence event  )  [static]

Definition at line 144 of file incidenceformatter.cpp.

static QString eventViewerFormatBirthday ( Event event  )  [static]

Definition at line 201 of file incidenceformatter.cpp.

static QString eventViewerFormatEvent ( Event event  )  [static]

Definition at line 275 of file incidenceformatter.cpp.

static QString eventViewerFormatFreeBusy ( FreeBusy fb  )  [static]

Definition at line 490 of file incidenceformatter.cpp.

static QString eventViewerFormatHeader ( Incidence incidence  )  [static]

Definition at line 224 of file incidenceformatter.cpp.

static QString eventViewerFormatJournal ( Journal journal  )  [static]

Definition at line 475 of file incidenceformatter.cpp.

static QString eventViewerFormatTodo ( Todo todo  )  [static]

Definition at line 382 of file incidenceformatter.cpp.

static bool incidenceOwnedByMe ( Calendar calendar,
Incidence incidence 
) [static]

Definition at line 1206 of file incidenceformatter.cpp.

static QString invitationDetailsEvent ( Event event  )  [static]

Definition at line 653 of file incidenceformatter.cpp.

static QString invitationDetailsFreeBusy ( FreeBusy fb  )  [static]

Definition at line 756 of file incidenceformatter.cpp.

static QString invitationDetailsJournal ( Journal journal  )  [static]

Definition at line 733 of file incidenceformatter.cpp.

static QString invitationDetailsTodo ( Todo todo  )  [static]

Definition at line 710 of file incidenceformatter.cpp.

static QString invitationHeaderEvent ( Event event,
ScheduleMessage msg 
) [static]

Definition at line 812 of file incidenceformatter.cpp.

static QString invitationHeaderFreeBusy ( FreeBusy fb,
ScheduleMessage msg 
) [static]

Definition at line 1019 of file incidenceformatter.cpp.

static QString invitationHeaderJournal ( Journal journal,
ScheduleMessage msg 
) [static]

Definition at line 962 of file incidenceformatter.cpp.

static QString invitationHeaderTodo ( Todo todo,
ScheduleMessage msg 
) [static]

Definition at line 897 of file incidenceformatter.cpp.

static QString invitationRow ( const QString cell1,
const QString cell2 
) [static]

Definition at line 628 of file incidenceformatter.cpp.

static QString invitationsDetailsIncidence ( Incidence incidence  )  [static]

Definition at line 633 of file incidenceformatter.cpp.

static QString linkPerson ( const QString email,
QString  name,
QString  uid 
) [static]

Definition at line 97 of file incidenceformatter.cpp.

static QString mailBodyIncidence ( Incidence incidence  )  [static]

Definition at line 2046 of file incidenceformatter.cpp.

static QDateTime pureISOToLocalQDateTime ( const QString dtStr,
bool  bDateOnly = false 
) [static]

Definition at line 1466 of file incidenceformatter.cpp.

static QString recurEnd ( Incidence incidence  )  [static]

Definition at line 2161 of file incidenceformatter.cpp.

static struct save_tz set_tz ( const char *  _tc  )  [static, read]

Definition at line 1401 of file incidenceformatter.cpp.

static QString sNamedProp ( KTNEFMessage *  tnefMsg,
const QString name,
const QString fallback = QString::null 
) [static]

Definition at line 1392 of file incidenceformatter.cpp.

static QString string2HTML ( const QString str  )  [static]

Definition at line 593 of file incidenceformatter.cpp.

static QString stringProp ( KTNEFMessage *  tnefMsg,
const Q_UINT32 &  key,
const QString fallback = QString::null 
) [static]

Definition at line 1385 of file incidenceformatter.cpp.

static void unset_tz ( struct save_tz  old_tz  )  [static]

Definition at line 1433 of file incidenceformatter.cpp.

static QDateTime utc2Local ( const QDateTime utcdt  )  [static]

Definition at line 1452 of file incidenceformatter.cpp.