KTnef Namespace

Header: #include <formatter.h>
CMake: find_package(KPim6Tnef REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::Tnef)

Classes

Functions

(since 26.12) QString messageToIcal(const KTnef::KTNEFMessage *tnefMsg)
(since 26.12) QByteArray messageToVcard(const KTnef::KTNEFMessage *tnefMsg)

Detailed Description

@file This file is part of the API for handling TNEF data and defines the KTNEFParser class.

@author Michael Goffioul

Classes

class KTNEFAttach

Represents a @acronym TNEF attachment. More...

class KTNEFMessage

Represents a @acronym TNEF message. More...

class KTNEFParser

Provides an @acronym TNEF parser. More...

class KTNEFProperty

Interface for setting @acronym MAPI properties. More...

class KTNEFPropertySet

Interface for setting @acronym MAPI properties and @acronym TNEF attributes. More...

Function Documentation

[since 26.12] QString KTnef::messageToIcal(const KTnef::KTNEFMessage *tnefMsg)

Create an iCal representation of an event, todo or invitation in a TNEF message.

If the message does not contain a calendar object, an empty string is returned.

tnefMsg the TNEF message to convert.

This function was introduced in 26.12.

[since 26.12] QByteArray KTnef::messageToVcard(const KTnef::KTNEFMessage *tnefMsg)

Create a vCard representation of a contact contained in a TNEF message.

If the message does not contain a contact, an empty string is returned.

tnefMsg the TNEF message to convert.

This function was introduced in 26.12.