#include <Soprano/Util/AsyncResult>
Signals | |
void | resultReady (Soprano::Util::AsyncResult *) |
Public Member Functions | |
QVariant | value () const |
Definition at line 50 of file asyncmodel.h.
void Soprano::Util::AsyncResult::resultReady | ( | Soprano::Util::AsyncResult * | ) | [signal] |
Emitted once the async operation is completed and the result can be read.
The result will delete itself.
QVariant Soprano::Util::AsyncResult::value | ( | ) | const [inline] |
The result of the async operation. Its type is dependent on the operation (for example Error::ErrorCode for AsyncModel::addStatementAsync or StatementIterator for AsyncModel::listStatementsAsync). Types may need to be registered with Q_DECLARE_METATYPE.
Use Error::ErrorCache::lastError() to check for error details.
This value is not ready before resultReady() as been emitted.
Definition at line 77 of file asyncmodel.h.