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

KMIME Library

  • sources
  • kde-4.14
  • kdepimlibs
  • 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 
53 class QByteArray;
54 
55 namespace KMime {
56 
57 namespace MDN {
58 
101 enum DispositionType {
102  Displayed, Read = Displayed,
103  Deleted,
104  Dispatched, Forwarded = Dispatched,
105  Processed,
106  Denied,
107  Failed
108 };
109 
131 enum DispositionModifier {
132  Error,
133  Warning,
134  Superseded,
135  Expired,
136  MailboxTerminated
137 };
138 
154 enum ActionMode {
155  ManualAction,
156  AutomaticAction
157 };
158 
170 enum SendingMode {
171  SentManually,
172  SentAutomatically
173 };
174 
178 KMIME_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 
188 KMIME_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__
QByteArray
QString
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:18 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs 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

Search



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