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

mailtransport

  • MailTransport
  • ErrorAttribute
Public Member Functions | List of all members
MailTransport::ErrorAttribute Class Reference

#include <errorattribute.h>

Inherits Attribute.

Public Member Functions

 ErrorAttribute (const QString &msg=QString())
 
virtual ~ErrorAttribute ()
 
virtual ErrorAttribute * clone () const
 
virtual void deserialize (const QByteArray &data)
 
QString message () const
 
virtual QByteArray serialized () const
 
void setMessage (const QString &msg)
 
virtual QByteArray type () const
 

Detailed Description

An Attribute to mark messages that failed to be sent.

This attribute contains the error message encountered.

Author
Constantin Berzan exit3.nosp@m.219@.nosp@m.gmail.nosp@m..com
Since
4.4

Definition at line 39 of file errorattribute.h.

Constructor & Destructor Documentation

ErrorAttribute::ErrorAttribute ( const QString &  msg = QString())
explicit

Creates a new error attribute.

Parameters
msgThe i18n'ed error message.

Definition at line 34 of file errorattribute.cpp.

ErrorAttribute::~ErrorAttribute ( )
virtual

Destroys the error attribute.

Definition at line 40 of file errorattribute.cpp.

Member Function Documentation

QString ErrorAttribute::message ( ) const

Returns the i18n'ed error message.

Definition at line 66 of file errorattribute.cpp.

void ErrorAttribute::setMessage ( const QString &  msg)

Sets the i18n'ed error message.

Definition at line 71 of file errorattribute.cpp.


The documentation for this class was generated from the following files:
  • errorattribute.h
  • errorattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailtransport

Skip menu "mailtransport"
  • 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