Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The Status class encapsulates the instantaneous state of a QMailServiceAction. More...
This class is under development and is subject to change.
The Status class encapsulates the instantaneous state of a QMailServiceAction.
QMailServiceAction::Status contains the pieces of information that describe the state of a requested action. The errorCode reflects the overall state, and may be supplemented by a description in text.
If errorCode is not equal to ErrNoError, then each of accountId, folderId and messageId may have been set to a valid identifier, if pertinent to the situation.
This enum type is used to identify common error conditions encountered when implementing service actions.
Constant | Value | Description |
---|---|---|
QMailServiceAction::Status::ErrNoError | 0 | No error was encountered. |
QMailServiceAction::Status::ErrCancel | 3 | The operation was canceled by user intervention. |
QMailServiceAction::Status::ErrConfiguration | 10 | The configuration needed for the requested action is invalid. |
QMailServiceAction::Status::ErrNoConnection | 7 | A connection could not be established to the external service. |
QMailServiceAction::Status::ErrConnectionInUse | 8 | The connection to the external service is exclusively held by another user. |
QMailServiceAction::Status::ErrConnectionNotReady | 9 | The connection to the external service is not ready for operation. |
QMailServiceAction::Status::ErrUnknownResponse | 1 | The response from the external service could not be handled. |
QMailServiceAction::Status::ErrLoginFailed | 2 | The external service did not accept the supplied authentication details. |
QMailServiceAction::Status::ErrFileSystemFull | 4 | The action could not be performed due to insufficient storage space. |
QMailServiceAction::Status::ErrNonexistentMessage | 5 | The specified message does not exist. |
QMailServiceAction::Status::ErrEnqueueFailed | 6 | The specified message could not be enqueued for transmission. |
QMailServiceAction::Status::ErrInvalidAddress | 11 | The specified address is invalid for the requested action. |
Constructs a status object which is a copy of other.
If relevant to the errorCode, contains the ID of the associated account.
Describes the error condition encountered by the action.
If relevant to the errorCode, contains the ID of the associated folder.
If relevant to the errorCode, contains the ID of the associated message.
Provides a human-readable description of the error condition in errorCode.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |