mailtransport
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.
- Since
- 4.4
Definition at line 39 of file errorattribute.h.
Constructor & Destructor Documentation
Creates a new error attribute.
- Parameters
-
msg The i18n'ed error message.
Definition at line 34 of file errorattribute.cpp.
|
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:
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
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.