mailtransport
MailTransport::ErrorAttribute Class Reference
An Attribute to mark messages that failed to be sent. More...
#include <errorattribute.h>
Inherits Akonadi::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 attributeContains the error message encountered.
- Since:
- 4.4
Definition at line 40 of file errorattribute.h.
Constructor & Destructor Documentation
| ErrorAttribute::ErrorAttribute | ( | const QString & | msg = QString() |
) | [explicit] |
Creates a new error attribute.
- Parameters:
-
msg The 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:
KDE 4.4 API Reference