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

KTNEF Library

  • KTnef
  • KTNEFMessage
Public Member Functions
KTnef::KTNEFMessage Class Reference

#include <ktnefmessage.h>

Inheritance diagram for KTnef::KTNEFMessage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Represents a TNEF message.


Constructor & Destructor Documentation

KTNEFMessage::KTNEFMessage ( )

Creates a KTNEFMessage message object.

Private class that helps to provide binary compatibility between releases.

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:
attachis 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:
filenameis 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:
  • ktnefmessage.h
  • ktnefmessage.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:26:14 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KTNEF Library

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

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • 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