can be used to implement a background job More...
#include <backjob.h>
Public Attributes | |
Amorph | a2 |
Public Attributes inherited from bbb::BackJob1 | |
Amorph | a1 |
Additional Inherited Members | |
Public Types inherited from bbb::BackJob | |
typedef void(* | KbTimeout )(BackJob *bkj) |
the function to call when the timeout expires | |
Signals inherited from bbb::BackJob | |
void | timeout (void) |
fired on regular intervals when the job is active | |
Public Member Functions inherited from bbb::BackJob | |
BackJob (QObject *parent=NULL) | |
constructor; | |
virtual | ~BackJob (void) |
destructor; | |
void | stop (void) |
starts the timer | |
void | start (void) |
stops the timer | |
bool | isStarted (void) |
tell if the imer is running | |
void | setCallback (KbTimeout val) |
sets the callback to use | |
KbTimeout | callback (void) |
retrieves the callback used | |
void | setFrequency (int val) |
sets the callback to use | |
int | frequency (void) |
retrieves the callback used | |
Protected Member Functions inherited from bbb::BackJob | |
void | timerEvent (QTimerEvent *event) |
fired on regular intervals when started | |
can be used to implement a background job
Has room for two amorph values