KTnef

formatter.h File Reference
#include <KCalendarCore/MemoryCalendar>
#include <QString>
#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.

Functions

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.

Author
Cornelius Schumacher
Reinhold Kainhofer

Definition in file formatter.h.

Function Documentation

◆ formatTNEFInvitation()

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

Formats a TNEF attachment to an HTML mail.

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

Definition at line 425 of file formatter.cpp.

◆ msTNEFToVPart()

QString KTnef::msTNEFToVPart ( const QByteArray & tnef)
nodiscard

Transforms a TNEF attachment to an iCal or vCard.

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

FIXME Need to get this attribute written

Definition at line 92 of file formatter.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.