|
QXmpp
Version: 1.4.0
|
The Error class represents a stanza error. More...
#include <QXmppStanza.h>
Public Types | |
| enum | Type { Cancel , Continue , Modify , Auth , Wait } |
| enum | Condition { BadRequest , Conflict , FeatureNotImplemented , Forbidden , Gone , InternalServerError , ItemNotFound , JidMalformed , NotAcceptable , NotAllowed , NotAuthorized , Q_DECL_ENUMERATOR_DEPRECATED_X =("The <payment-required/> error was removed in RFC6120") , RecipientUnavailable = 12 , Redirect , RegistrationRequired , RemoteServerNotFound , RemoteServerTimeout , ResourceConstraint , ServiceUnavailable , SubscriptionRequired , UndefinedCondition , UnexpectedRequest , PolicyViolation } |
| A detailed condition of the error. More... | |
Public Member Functions | |
| Error () | |
| Error (const Error &) | |
| Copy constructor. | |
| Error (Type type, Condition cond, const QString &text=QString()) | |
| Error (const QString &type, const QString &cond, const QString &text=QString()) | |
| ~Error () | |
| Default destructor. | |
| Error & | operator= (const Error &) |
| Copy operator. | |
| int | code () const |
| void | setCode (int code) |
| QString | text () const |
| void | setText (const QString &text) |
| Condition | condition () const |
| void | setCondition (Condition cond) |
| void | setType (Type type) |
| Type | type () const |
| QString | by () const |
| void | setBy (const QString &by) |
| QString | redirectionUri () const |
| void | setRedirectionUri (const QString &redirectionUri) |
| bool | fileTooLarge () const |
| void | setFileTooLarge (bool) |
| qint64 | maxFileSize () const |
| voi | |