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

KTNEF Library

  • ktnef
ktnefmessage.h
Go to the documentation of this file.
1/*
2 ktnefmessage.h
3
4 Copyright (C) 2002 Michael Goffioul <kdeprint@swing.be>
5
6 This file is part of KTNEF, the KDE TNEF support library/program.
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either
11 version 2 of the License, or (at your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Library General Public License for more details.
17
18 You should have received a copy of the GNU Library General Public License
19 along with this library; see the file COPYING.LIB. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.
22 */
30
31#ifndef KTNEFMESSAGE_H
32#define KTNEFMESSAGE_H
33
34#include <QtCore/QList>
35
36#include "ktnefpropertyset.h"
37#include "ktnef_export.h"
38
39namespace KTnef {
40 class KTNEFAttach;
41}
42
43namespace KTnef {
44
49class KTNEF_EXPORT KTNEFMessage : public KTNEFPropertySet
50{
51 public:
55 KTNEFMessage();
56
60 ~KTNEFMessage();
61
65 const QList<KTNEFAttach *> &attachmentList() const;
66
75 KTNEFAttach *attachment( const QString &filename ) const;
76
81 void addAttachment( KTNEFAttach *attach );
82
86 void clearAttachments();
87
92 QString rtfString() const;
93
94 private:
95 //@cond PRIVATE
96 class MessagePrivate;
97 MessagePrivate *const d;
98 //@endcond
99
100 Q_DISABLE_COPY( KTNEFMessage )
101};
102
103}
104#endif
KTnef::KTNEFAttach
Represents a TNEF attachment.
Definition ktnefattach.h:52
KTnef::KTNEFMessage::clearAttachments
void clearAttachments()
Clear the attachments list.
Definition ktnefmessage.cpp:99
KTnef::KTNEFMessage::rtfString
QString rtfString() const
Returns the Rich Text Format (RTF) data contained in the message.
Definition ktnefmessage.cpp:104
KTnef::KTNEFMessage::addAttachment
void addAttachment(KTNEFAttach *attach)
Append an attachment to the message.
Definition ktnefmessage.cpp:94
KTnef::KTNEFMessage::attachmentList
const QList< KTNEFAttach * > & attachmentList() const
Return a QList containing all the message's attachments.
Definition ktnefmessage.cpp:78
KTnef::KTNEFMessage::attachment
KTNEFAttach * attachment(const QString &filename) const
Find the attachment associated to the specified file name.
Definition ktnefmessage.cpp:83
KTnef::KTNEFMessage::KTNEFMessage
KTNEFMessage()
Creates a KTNEFMessage message object.
Definition ktnefmessage.cpp:69
KTnef::KTNEFPropertySet::KTNEFPropertySet
KTNEFPropertySet()
Constructor.
Definition ktnefpropertyset.cpp:47
ktnefpropertyset.h
This file is part of the API for handling TNEF data and defines the KTNEFPropertySet class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 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