QEverCloud
Unofficial Evernote Cloud API for Qt
|
Returned by asynchonous versions of functions. More...
Inherits QObject.
Signals | |
void | finished (QVariant result, QSharedPointer< EverCloudExceptionData > error) |
Emitted upon asyncronous call completition. More... | |
Public Member Functions | |
bool | waitForFinished (int timeout=-1) |
Waits for asyncronous operation to complete. More... | |
Returned by asynchonous versions of functions.
Wait for AsyncResult::finished signal.
Intended usage is something like this:
|
signal |
Emitted upon asyncronous call completition.
result | |
error | error.isNull() != true in case of an error. See EverCloudExceptionData for more details. |
AsyncResult deletes itself after emitting this signal. You don't have to manage it's lifetime explicitly.
bool qevercloud::AsyncResult::waitForFinished | ( | int | timeout = -1 | ) |
Waits for asyncronous operation to complete.
timeout | Maximum time to wait in milliseconds. Forever if < 0. |