KTnef::KTNEFMessage Class Reference

Represents a TNEF message. More...

#include <ktnefmessage.h>

Inheritance diagram for KTnef::KTNEFMessage:

List of all members.

Public Member Functions

 KTNEFMessage ()
 ~KTNEFMessage ()
void addAttachment (KTNEFAttach *attach)
KTNEFAttachattachment (const QString &filename) const
const QList< KTNEFAttach * > & attachmentList () const
void clearAttachments ()
QString rtfString () const

Detailed Description

Represents a TNEF message.

Definition at line 47 of file ktnefmessage.h.


Constructor & Destructor Documentation

KTNEFMessage::KTNEFMessage (  ) 

Creates a KTNEFMessage message object.

Private class that helps to provide binary compatibility between releases.

For internal use only.

Definition at line 69 of file ktnefmessage.cpp.

KTNEFMessage::~KTNEFMessage (  ) 

Destroys a KTNEFMessage message object.

Definition at line 73 of file ktnefmessage.cpp.


Member Function Documentation

void KTNEFMessage::addAttachment ( KTNEFAttach attach  ) 

Append an attachment to the message.

Parameters:
attach is a pointer to a KTNEFAttach object to be attached.

Definition at line 94 of file ktnefmessage.cpp.

KTNEFAttach * KTNEFMessage::attachment ( const QString &  filename  )  const

Find the attachment associated to the specified file name.

Parameters:
filename is a QString containing the file to search for in the list of message attachments.
Returns:
A pointer to KTNEFAttach object, or 0 if the search fails.

Definition at line 83 of file ktnefmessage.cpp.

const QList< KTNEFAttach * > & KTNEFMessage::attachmentList (  )  const

Return a QList containing all the message's attachments.

Definition at line 78 of file ktnefmessage.cpp.

void KTNEFMessage::clearAttachments (  ) 

Clear the attachments list.

Definition at line 99 of file ktnefmessage.cpp.

QString KTNEFMessage::rtfString (  )  const

Returns the Rich Text Format (RTF) data contained in the message.

Returns:
A QString containing the RTF data.

Definition at line 104 of file ktnefmessage.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys