BluezQt 5.109.0
Properties | Signals | Public Member Functions | List of all members
BluezQt::InitObexManagerJob

Init obex manager job. More...

#include <BluezQt/InitObexManagerJob>

Properties

ObexManagermanager
 
- Properties inherited from BluezQt::Job
int error
 
QString errorText
 
bool finished
 
bool running
 

Signals

void result (InitObexManagerJob *job)
 Indicates that the job have finished.
 

Public Member Functions

 ~InitObexManagerJob () override
 Destroys an InitObexManagerJob object.
 
ObexManagermanager () const
 Returns a manager that is being initialized.
 
- Public Member Functions inherited from BluezQt::Job
 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.
 

Additional Inherited Members

- Public Types inherited from BluezQt::Job
enum  Error { NoError = 0 , UserDefinedError = 100 }
 Error type. More...
 
- Public Slots inherited from BluezQt::Job
void kill ()
 Kills the job.
 
void start ()
 Starts the job asynchronously.
 
- Protected Slots inherited from BluezQt::Job
virtual void doStart ()=0
 Implementation for start() that will be executed in next loop.
 
- Protected Member Functions inherited from BluezQt::Job
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.
 

Detailed Description

Init obex manager job.

This class represents a job that initializes ObexManager.

Constructor & Destructor Documentation

◆ ~InitObexManagerJob()

BluezQt::InitObexManagerJob::~InitObexManagerJob ( )
override

Destroys an InitObexManagerJob object.

Member Function Documentation

◆ manager()

ObexManager * BluezQt::InitObexManagerJob::manager ( ) const

Returns a manager that is being initialized.

Returns
manager

◆ result

void BluezQt::InitObexManagerJob::result ( InitObexManagerJob job)
signal

Indicates that the job have finished.