KTNEF Library
formatter.h File Reference
#include <QtCore/QString>
#include <kcalcore/memorycalendar.h>
#include "ktnef_export.h"
Go to the source code of this file.
Functions | |
QString | KTnef::formatTNEFInvitation (const QByteArray &tnef, const KCalCore::MemoryCalendar::Ptr &cal, KCalUtils::InvitationFormatterHelper *h) |
KTNEF_DEPRECATED_EXPORT QString | KTnef::formatTNEFInvitation (const QByteArray &tnef, KCal::Calendar *cal, KCal::InvitationFormatterHelper *h) |
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.
Definition in file formatter.h.
Function Documentation
◆ formatTNEFInvitation() [1/2]
QString KTnef::formatTNEFInvitation | ( | const QByteArray & | tnef, |
const KCalCore::MemoryCalendar::Ptr & | cal, | ||
KCalUtils::InvitationFormatterHelper * | h ) |
Formats a TNEF attachment to an HTML mail.
- Parameters
-
tnef is the QByteArray contain the TNEF data. cal is a pointer to a Calendar object. h is a pointer to a InvitationFormatterHelp object.
◆ formatTNEFInvitation() [2/2]
QString KTnef::formatTNEFInvitation | ( | const QByteArray & | tnef, |
KCal::Calendar * | cal, | ||
KCal::InvitationFormatterHelper * | h ) |
Formats a TNEF attachment to an HTML mail.
- Parameters
-
tnef is the QByteArray contain the TNEF data. cal is a pointer to a Calendar object. h is a pointer to a InvitationFormatterHelp object.
Definition at line 537 of file formatter.cpp.
◆ msTNEFToVPart()
QString KTnef::msTNEFToVPart | ( | const QByteArray & | tnef | ) |
Transforms a TNEF attachment to an iCal or vCard.
- Parameters
-
tnef is the QByteArray containing the TNEF data.
- Returns
- a string containing the transformed attachment.
FIXME Need to get this attribute written
Definition at line 196 of file formatter.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.