Init manager job.
More...
#include <BluezQt/InitManagerJob>
|
Manager * | manager |
|
int | error |
|
QString | errorText |
|
bool | finished |
|
bool | running |
|
|
| ~InitManagerJob () override |
| Destroys an InitManagerJob object.
|
|
Manager * | manager () const |
| Returns a manager that is being initialized.
|
|
| Job (QObject *parent=nullptr) |
| Creates a new Job object.
|
|
| ~Job () override |
| Destroys a Job object.
|
|
int | error () const |
| Returns the error code, if there has been an error.
|
|
QString | errorText () const |
| Returns the error text if there has been an error.
|
|
bool | exec () |
| Executes the job synchronously.
|
|
bool | isFinished () const |
| Returns whether the job have already finished.
|
|
bool | isRunning () const |
| Returns whether the job is currently running.
|
|
|
enum | Error { NoError = 0
, UserDefinedError = 100
} |
| Error type. More...
|
|
void | kill () |
| Kills the job.
|
|
void | start () |
| Starts the job asynchronously.
|
|
virtual void | doStart ()=0 |
| Implementation for start() that will be executed in next loop.
|
|
virtual void | doEmitResult ()=0 |
| Implementation for emitting the result signal.
|
|
void | emitResult () |
| Utility function to emit the result signal, and suicide this job.
|
|
void | setError (int errorCode) |
| Sets the error code.
|
|
void | setErrorText (const QString &errorText) |
| Sets the error text.
|
|
Init manager job.
This class represents a job that initializes Manager.
◆ ~InitManagerJob()
BluezQt::InitManagerJob::~InitManagerJob |
( |
| ) |
|
|
override |
◆ manager()
Manager * BluezQt::InitManagerJob::manager |
( |
| ) |
const |
Returns a manager that is being initialized.
- Returns
- manager
◆ result
Indicates that the job have finished.