MailTransport::ErrorAttribute

MailTransport::ErrorAttribute Class Reference

#include <errorattribute.h>

Inheritance diagram for MailTransport::ErrorAttribute:

Public Member Functions

 ErrorAttribute (const QString &msg=QString())
 
 ~ErrorAttribute () override
 
ErrorAttributeclone () const override
 
void deserialize (const QByteArray &data) override
 
QString message () const
 
QByteArray serialized () const override
 
void setMessage (const QString &msg)
 
QByteArray type () const override
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

An Attribute to mark messages that failed to be sent.

This attribute contains the error message encountered.

Author
Constantin Berzan exit3[email protected][email protected][email protected]gmail[email protected].com
Since
4.4

Definition at line 25 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 18 of file errorattribute.cpp.

ErrorAttribute::~ErrorAttribute ( )
override

Destroys the error attribute.

Definition at line 24 of file errorattribute.cpp.

Member Function Documentation

QString ErrorAttribute::message ( ) const

Returns the i18n'ed error message.

Definition at line 50 of file errorattribute.cpp.

void ErrorAttribute::setMessage ( const QString msg)

Sets the i18n'ed error message.

Definition at line 55 of file errorattribute.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jul 11 2020 23:17:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.