Akonadi::ErrorAttribute
Akonadi::ErrorAttribute Class Reference
#include <errorattribute.h>
Inheritance diagram for Akonadi::ErrorAttribute:

Public Member Functions | |
ErrorAttribute (const QString &msg=QString()) | |
~ErrorAttribute () override | |
ErrorAttribute * | clone () 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 | |
![]() | |
typedef QList< Attribute * > | List |
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 29 of file errorattribute.h.
Constructor & Destructor Documentation
◆ ErrorAttribute()
Creates a new error attribute.
- Parameters
-
msg The i18n'ed error message.
Definition at line 17 of file errorattribute.cpp.
◆ ~ErrorAttribute()
|
overridedefault |
Destroys the error attribute.
Member Function Documentation
◆ message()
QString ErrorAttribute::message | ( | ) | const |
Returns the i18n'ed error message.
Definition at line 46 of file errorattribute.cpp.
◆ setMessage()
void ErrorAttribute::setMessage | ( | const QString & | msg | ) |
Sets the i18n'ed error message.
Definition at line 51 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-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:51:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:51:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.