Blokkal::PostEntryStatus Class Reference
This class describes the status of an entry manager by Blokkal::PostEntryQueue. More...
#include <blokkalpostentryqueue.h>
Public Types | |
enum | Status { StatusNormal = 1, StatusPosting = 2, StatusError = 3 } |
Public Member Functions | |
int | error (void) const |
QString | errorString (void) const |
const Blokkal::Io::EntryJob * | job (void) const |
PostEntryStatus (void) | |
Blokkal::PostEntryStatus::Status | status (void) const |
~PostEntryStatus (void) | |
Friends | |
class | PostEntryQueue |
Detailed Description
This class describes the status of an entry manager by Blokkal::PostEntryQueue.This class describes the status of an entry manager by Blokkal::PostEntryQueue.
Definition at line 223 of file blokkalpostentryqueue.h.
Member Enumeration Documentation
This enum describes the status of the entry
- Enumerator:
-
StatusNormal For normal queued entries. StatusPosting This entry is beeing posted right now. StatusError Some error occured.
Definition at line 239 of file blokkalpostentryqueue.h.
Constructor & Destructor Documentation
Blokkal::PostEntryStatus::PostEntryStatus | ( | void | ) |
Creates a new PostEntryStatus
Definition at line 51 of file blokkalpostentryqueue.cpp.
Blokkal::PostEntryStatus::~PostEntryStatus | ( | void | ) |
Destructor
Definition at line 62 of file blokkalpostentryqueue.cpp.
Member Function Documentation
int Blokkal::PostEntryStatus::error | ( | void | ) | const |
Returns the error code of the last post attempt.
- Returns:
- the error code of the last post attempt
Definition at line 67 of file blokkalpostentryqueue.cpp.
QString Blokkal::PostEntryStatus::errorString | ( | void | ) | const |
Returns the error string of the last post attempt.
- Returns:
- the error string of the last post attempt
Definition at line 72 of file blokkalpostentryqueue.cpp.
const Blokkal::Io::EntryJob * Blokkal::PostEntryStatus::job | ( | void | ) | const |
If the entry is currently beeing posted, this method returns a pointer to the handler conducting the operation.
- Returns:
- the job
Definition at line 82 of file blokkalpostentryqueue.cpp.
Blokkal::PostEntryStatus::Status Blokkal::PostEntryStatus::status | ( | void | ) | const |
This method returns the status of the entry.
- Returns:
- the status of the entry
Definition at line 77 of file blokkalpostentryqueue.cpp.
The documentation for this class was generated from the following files: