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

KMIME Library

kmime_mdn.h
Go to the documentation of this file.
00001 /*  -*- c++ -*-
00002     kmime_mdn.h
00003 
00004     KMime, the KDE Internet mail/usenet news message library.
00005     Copyright (c) 2002 Marc Mutz <mutz@kde.org>
00006 
00007     This library is free software; you can redistribute it and/or
00008     modify it under the terms of the GNU Library General Public
00009     License as published by the Free Software Foundation; either
00010     version 2 of the License, or (at your option) any later version.
00011 
00012     This library is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015     Library General Public License for more details.
00016 
00017     You should have received a copy of the GNU Library General Public License
00018     along with this library; see the file COPYING.LIB.  If not, write to
00019     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020     Boston, MA 02110-1301, USA.
00021 */
00046 #ifndef __KMIME_MDN_H__
00047 #define __KMIME_MDN_H__
00048 
00049 #include "kmime_export.h"
00050 #include <QtCore/QString>
00051 #include <QtCore/QList>
00052 
00053 class QByteArray;
00054 
00055 namespace KMime {
00056 
00057 namespace MDN {
00058 
00101 enum DispositionType {
00102   Displayed, Read = Displayed,
00103   Deleted,
00104   Dispatched, Forwarded = Dispatched,
00105   Processed,
00106   Denied,
00107   Failed
00108 };
00109 
00131 enum DispositionModifier {
00132   Error,
00133   Warning,
00134   Superseded,
00135   Expired,
00136   MailboxTerminated
00137 };
00138 
00154 enum ActionMode {
00155   ManualAction,
00156   AutomaticAction
00157 };
00158 
00170 enum SendingMode {
00171   SentManually,
00172   SentAutomatically
00173 };
00174 
00178 KMIME_EXPORT extern QByteArray dispositionNotificationBodyContent(
00179   const QString &finalRecipient,
00180   const QByteArray &originalRecipient,
00181   const QByteArray &originalMsgID,
00182   DispositionType disposition,
00183   ActionMode actionMode,
00184   SendingMode sendingMode,
00185   const QList<DispositionModifier> &dispositionModifers=QList<DispositionModifier>(),
00186   const QString &special=QString() );
00187 
00188 KMIME_EXPORT extern QString descriptionFor(
00189   DispositionType d,
00190   const QList<DispositionModifier> &m=QList<DispositionModifier>() );
00191 
00192 } // namespace MDN
00193 
00194 } // namespace KMime
00195 
00196 #endif // __KMIME_MDN_H__
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:48:41 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

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

kdepimlibs-4.8.3 API Reference

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