• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

KTNEF Library

  • ktnef
Functions
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.

Author
Cornelius Schumacher
Reinhold Kainhofer

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
tnefis the QByteArray contain the TNEF data.
calis a pointer to a Calendar object.
his 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
tnefis the QByteArray contain the TNEF data.
calis a pointer to a Calendar object.
his 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
tnefis 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

KDE's Doxygen guidelines are available online.

KTNEF Library

Skip menu "KTNEF Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal