• Skip to content
  • Skip to link menu
KDE 4.8 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • ErrorAttribute
Public Member Functions
MailTransport::ErrorAttribute Class Reference

#include <errorattribute.h>

Inherits Attribute.

List of all members.

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 <exit3219@gmail.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 35 of file errorattribute.cpp.

ErrorAttribute::~ErrorAttribute ( ) [virtual]

Destroys the error attribute.

Definition at line 41 of file errorattribute.cpp.


Member Function Documentation

QString ErrorAttribute::message ( ) const

Returns the i18n'ed error message.

Definition at line 67 of file errorattribute.cpp.

void ErrorAttribute::setMessage ( const QString &  msg)

Sets the i18n'ed error message.

Definition at line 72 of file errorattribute.cpp.


The documentation for this class was generated from the following files:
  • errorattribute.h
  • errorattribute.cpp

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • 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
Generated for KDE-PIM Libraries by doxygen 1.7.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal