|
|
void | request_cancel () |
| | request_cancel send a cancel request to the worker to exit early
|
| |
|
|
void | init_complete () |
| | Publish that the worker has finished its initialization.
|
| |
| void | result (int ret_val) |
| | Notify when the worker execution has finished. More...
|
| |
|
|
void | run () |
| | Perform time-consuming task in a background thread when the thread pool queues it.
|
| |
Constructor.
- Parameters
-
| cmd | QString associated with the worker |
| util_worker | UtilWorker implements the utility business logic for the given command |
| err_emitter | LogEmitter used to monitor the qDebug log levels |
| QString UtilRunner::command |
( |
| ) |
|
Accessor method for the command associated with this worker.
- Returns
- QString command
| bool UtilRunner::is_hidden |
( |
| ) |
|
Determine if the utility shall be hidden or shown based on current state.
- Returns
- bool
True if the utilility shall be hidden, False otherwise
| void UtilRunner::result |
( |
int |
ret_val | ) |
|
|
signal |
Notify when the worker execution has finished.
- Parameters
-
| ret_val | int Return value code |
| QString UtilRunner::worker_widget_type |
( |
| ) |
|
worker_widget_type gets the type of widget from the plugin
- Returns
- QString type of widget the plugin uses
The documentation for this class was generated from the following files: