QMailMessageServer Class Reference
|
Constant | Value | Description |
---|---|---|
QMailMessageServer::ErrNoError | 0 | No error has occurred. |
QMailMessageServer::ErrUnknownResponse | ErrorCodeBase | The response from an external server could not be processed correctly. |
QMailMessageServer::ErrLoginFailed | ? | The login attempt was refused by an external server. |
QMailMessageServer::ErrCancel | ? | The operation was cancelled by a user action. |
QMailMessageServer::ErrFileSystemFull | ? | The file system does not have enough space to support the requested operation. |
QMailMessageServer::ErrNonexistentMessage | ? | The specified message does not exist. |
QMailMessageServer::ErrEnqueueFailed | ? | The supplied message could not be enqueued for transmission. |
QMailMessageServer::ErrNoConnection | ? | No external network connection could be selected to use for transmission. |
QMailMessageServer::ErrConnectionInUse | ? | The external network connection is already in use. |
QMailMessageServer::ErrConnectionNotReady | ? | The external network connection could not be prepared for transmission. |
QMailMessageServer::ErrConfiguration | ? | The account in use does not have a valid configuration. |
QMailMessageServer::ErrInvalidAddress | ? | The supplied message does not have a conforming address specification. |
This enum type is used to indicate the type of server operation to which a status notification relates.
Constant | Value | Description |
---|---|---|
QMailMessageServer::None | 0 | The notification is not specifically relating to a send or retrieve operation. |
QMailMessageServer::Send | 1 | The notification relates to a send operation. |
QMailMessageServer::Retrieve | 2 | The notification relates to a retrieve operation. |
Constructs a QMailMessageServer object with parent parent, and initiates communication with the MessageServer application.
Destroys the QMailMessageServer object.
Requests that the MessageServer reset the counts of 'new' messages to zero, for each message type listed in types.
See also newCountChanged().
Requests that the MessageServer cancel any pending search operations.
Requests that the MessageServer cancel any pending transfer operations.
See also send(), retrieve(), and completeRetrieval().
Requests that the MessageServer complete the retrieval process for the messages in mailList. If the list contains messages from multiple accounts, only those from the account associated with the first message in the list will be retrieved.
See also partialRetrievalCompleted() and retrievalCompleted().
Requests that the MessageServer delete the messages in mailList from the external server, if necessary for the relevant message type.
Deleting messages using this slot does not initiate communication with any external server; instead the information needed to delete the messages is recorded. Deletion from the external server will occur when messages are next retrieved from that server. Invoking this slot does not remove a message from the mail store.
See also QMailStore::removeMessage().
Emitted when the MessageServer encounters an error while performing an action relating to the account with id accountId. The error is described by text and errorCode.
See also statusChanged().
Emitted after the successful completion of a search operation; ids contains the list of message identifiers located by the search.
See also searchMessages().
Emitted when message has been retrieved from the external server. message is delivered in meta-data-only form, since the size of the entire message may be prohibitive.
See also retrieve().
Emitted when the message identified by id has been transmitted to the external server.
See also send().
Emitted when the count of 'new' messages changes; the new count is described by counts.
See also acknowledgeNewMessages().
Emitted when message has been partially retrieved from the external server. message is delivered in meta-data-only form, since the remainder of the message has not yet been retrieved from the server.
See also retrieve() and completeRetrieval().
Emitted when all new messages have been partially retrieved.
See also retrieve().
Emitted when a retrieval operation is completed.
See also retrieve().
Emitted during a retrieval operation; value reports the progress of the current retrieval operation.
See also retrievalTotal() and retrieve().
Emitted when a retrieval operation is initiated; total indicates the extent of the retrieval operation to be performed.
See also retrievalProgress() and retrieve().
Requests that the MessageServer retrieve any new messages from the account with id id. If foldersOnly is true, only the folder structure of the account will be retrieved from the external service.
See also retrievalCompleted().
Emitted when a search operation is completed.
See also send().
Requests that the MessageServer search for messages that meet the criteria encoded in filter. If bodyText is non-empty, messages must also contain the specified text in their content to be considered matching. If the content of a message is not stored locally, the MessageServer may connect to the originating server to request a content search, if necessary.
The identifiers of all matching messages are returned via matchingMessageIds() after the search is completed.
See also matchingMessageIds().
Emitted during a search operation; value reports the progress of the current search operation.
See also searchTotal() and searchMessages().
Emitted when a search operation is initiated; total indicates the extent of the search operation to be performed.
See also searchProgress() and searchMessages().
Sends the messages in mailList to the MessageServer application for transmission.
See also sendCompleted().
Emitted when a send operation is completed.
See also send().
Emitted during a send operation; value reports the progress of the current send operation.
See also sendTotal() and send().
Emitted when a send operation is initiated; total indicates the extent of the send operation to be performed.
See also sendProgress() and send().
Emitted whenever the MessageServer performs an action that may be of interest to the client. The server status is described by text, and relates to operation performed on the account named accountName.
See also errorOccurred().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com