formatter.h File Reference
#include <QString>
#include <KCalendarCore/MemoryCalendar>
#include "ktnef_export.h"
Include dependency graph for formatter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


KTNEF_EXPORT QString KTnef::formatTNEFInvitation (const QByteArray &tnef, const KCalendarCore::MemoryCalendar::Ptr &cal, KCalUtils::InvitationFormatterHelper *h)
KTNEF_EXPORT QString KTnef::msTNEFToVPart (const QByteArray &tnef)

Detailed Description

This file is part of the API for handling TNEF data and provides static Formatter helpers.

Provides helpers too format TNEF attachments into different formats like eg. a HTML representation.

Cornelius Schumacher
Reinhold Kainhofer

Definition in file formatter.h.

Function Documentation

QString KTnef::formatTNEFInvitation ( const QByteArray tnef,
const KCalendarCore::MemoryCalendar::Ptr cal,
KCalUtils::InvitationFormatterHelper h 

Formats a TNEF attachment to an HTML mail.

tnefis the QByteArray contain the TNEF data.
calis a pointer to a Calendar object.
his a pointer to a InvitationFormatterHelp object.

Definition at line 441 of file formatter.cpp.

QString KTnef::msTNEFToVPart ( const QByteArray tnef)

Transforms a TNEF attachment to an iCal or vCard.

tnefis the QByteArray containing the TNEF data.
a string containing the transformed attachment.

FIXME Need to get this attribute written

Definition at line 91 of file formatter.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Oct 28 2020 23:21:57 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.