| Home · Modules · Classes · Namespaces · Functions |
The QxtPop3Reply class encapsulates the reply to an asynchronous POP3 command. More...
#include <QxtPop3Reply>
Inherits QObject.
Inherited by QxtPop3ListReply, QxtPop3RetrReply, and QxtPop3StatReply.
The QxtPop3Reply class encapsulates the reply to an asynchronous POP3 command.
This isn't a class that is to be instanciated or subclassed by client code. You get pointers to QxtPop3Reply (or subclasses thereof) objects via QxtPop3 methods implementing the POP3 commands, and you can use them to:
The QxtPop3Reply object is managed by the QxtPop3 object, and is deleted with it. If the QxtPop3 object is long-lived, you can do some cleaning-up with its QxtPop3::clearReplies() method, for example after closing a connection to the server.
See also QxtPop3.
Return codes for the finished() signal, indicating how the reply finished.
| Constant | Value | Description |
|---|---|---|
| QxtPop3Reply::OK | 0 | Success, the result, if any, is available. |
| QxtPop3Reply::Timeout | 1 | The reply timed out. |
| QxtPop3Reply::Failed | 2 | The reply failed. |
| QxtPop3Reply::Aborted | 3 | The reply was cancelled. |
Status of the reply.
| Constant | Value | Description |
|---|---|---|
| QxtPop3Reply::Pending | 0 | The reply is queued and waits to be run. |
| QxtPop3Reply::Running | 1 | The repy is currently being run. |
| QxtPop3Reply::Completed | 2 | The reply has completed, the result, if any, is available. |
| QxtPop3Reply::Timedout | 3 | The reply timed out. |
| QxtPop3Reply::Error | 4 | An error occured. |
Type of POP3 command, as returned by type().
| Constant | Value | Description |
|---|---|---|
| QxtPop3Reply::Auth | 0 | AUTH POP3 command. |
| QxtPop3Reply::Quit | 1 | QUIT POP3 command. |
| QxtPop3Reply::Stat | 2 | STAT POP3 command. |
| QxtPop3Reply::List | 3 | LIST POP3 command. |
| QxtPop3Reply::Reset | 4 | RSET POP3 command. |
| QxtPop3Reply::Dele | 5 | DELE POP3 command. |
| QxtPop3Reply::Retr | 6 | RETR POP3 command. |
| QxtPop3Reply::Top | 7 | TOP POP3 command. |
Destructs the QxtPop3Reply.
Cancels the reply.
If an error occured, returns a string description of it.
See also status().
Emitted when the reply terminates. The return code indicates how the reply finished.
See also QxtPop3Reply::ReturnCode.
Emitted to indicate the progress of the reply. percent is a number between 0 and 100, indicating the progress value as a percentage.
Return the current status of the reply.
Returns the type of the reply.
| Copyright © 2007-2010 Qxt Foundation |
Qxt 0.7.0 |