This class is used for calling a specified callback function (which is a std::function) after a specified time delay. The callback is called from the QTimer event, so the usage of the class does not block the Qt's event loop.
More...
This class is used for calling a specified callback function (which is a std::function) after a specified time delay. The callback is called from the QTimer event, so the usage of the class does not block the Qt's event loop.
Usage:
std::function<
void ()> callback(
std::bind(&KisCanvas2::setMonitorProfile, this,
monitorProfile, renderingIntent, conversionFlags));
static void deferSignal(int delay, CallbackFunction function)
typedef void(QOPENGLF_APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC)(GLuint buffer)
TODO: rename KisDeferredSignal -> KisDeferredCallback
Definition at line 37 of file kis_deferred_signal.h.