![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Pending image request proxy object. More...
#include "iimgsource.h"
Public Member Functions | |
virtual | ~IPendingImgSourceRequest () |
virtual QObject * | GetQObject ()=0 |
Returns this object as QObject. More... | |
virtual LC::RemoteImageInfos_t | GetInfos () const =0 |
Returns the information about the selected images. More... | |
Protected Member Functions | |
virtual void | ready ()=0 |
Emitted when the information about the requested images becomes available. More... | |
virtual void | error (const QString &text)=0 |
Emitted if there is an error obtaining information about the requested images. More... | |
Pending image request proxy object.
This class is used to notify the IImgSource's methods caller when the information about requested images becomes available.
The class is self-owned, that is, it is deleted as soon as the control gets back to the event loop after emitting its ready() or error() signals.
Definition at line 93 of file iimgsource.h.
|
inlinevirtual |
Definition at line 96 of file iimgsource.h.
|
protectedpure virtual |
Emitted if there is an error obtaining information about the requested images.
The object is deleted after emitting this signal after the control gets back to the event loop.
[out] | text | The human-readable text about the error. |
|
pure virtual |
Returns the information about the selected images.
This method will very likely return an empty list until the ready() signal is emitted.
|
pure virtual |
Returns this object as QObject.
This function returns this object as a pointer to QObject to allow connecting to its signals.
|
protectedpure virtual |
Emitted when the information about the requested images becomes available.
Until this signal is emitted, the GetInfos() method very likely returns an empty list.
The object is deleted after emitting this signal after the control gets back to the event loop.