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

KMIME Library

  • kmime
kmime_mdn.h
Go to the documentation of this file.
1/* -*- c++ -*-
2 kmime_mdn.h
3
4 KMime, the KDE Internet mail/usenet news message library.
5 Copyright (c) 2002 Marc Mutz <mutz@kde.org>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
46#ifndef __KMIME_MDN_H__
47#define __KMIME_MDN_H__
48
49#include "kmime_export.h"
50#include <QtCore/QString>
51#include <QtCore/QList>
52
53class QByteArray;
54
55namespace KMime {
56
57namespace MDN {
58
101enum DispositionType {
102 Displayed, Read = Displayed,
103 Deleted,
104 Dispatched, Forwarded = Dispatched,
105 Processed,
106 Denied,
107 Failed
108};
109
131enum DispositionModifier {
132 Error,
133 Warning,
134 Superseded,
135 Expired,
136 MailboxTerminated
137};
138
154enum ActionMode {
155 ManualAction,
156 AutomaticAction
157};
158
170enum SendingMode {
171 SentManually,
172 SentAutomatically
173};
174
178KMIME_EXPORT extern QByteArray dispositionNotificationBodyContent(
179 const QString &finalRecipient,
180 const QByteArray &originalRecipient,
181 const QByteArray &originalMsgID,
182 DispositionType disposition,
183 ActionMode actionMode,
184 SendingMode sendingMode,
185 const QList<DispositionModifier> &dispositionModifers=QList<DispositionModifier>(),
186 const QString &special=QString() );
187
188KMIME_EXPORT extern QString descriptionFor(
189 DispositionType d,
190 const QList<DispositionModifier> &m=QList<DispositionModifier>() );
191
192} // namespace MDN
193
194} // namespace KMime
195
196#endif // __KMIME_MDN_H__
KMime::KAutoDeleteHash
The KAutoDeleteHash class is a convenience QHash subclass that provides automatic deletion of the val...
Definition kautodeletehash.h:50
KMime::MDN::DispositionModifier
DispositionModifier
The following disposition modifiers are defined:
Definition kmime_mdn.h:131
KMime::MDN::ActionMode
ActionMode
The following disposition modes are defined:
Definition kmime_mdn.h:154
KMime::MDN::SendingMode
SendingMode
Definition kmime_mdn.h:170
KMime::MDN::DispositionType
DispositionType
The following disposition-types are defined:
Definition kmime_mdn.h:101
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.

KMIME Library

Skip menu "KMIME Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • 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