32class RemoteDeviceManager :
public QObject
41 explicit RemoteDeviceManager(
const QBluetoothAddress& localAddress, QObject *parent =
nullptr);
43 bool isJobInProgress()
const {
return jobInProgress; }
44 bool scheduleJob(JobType job,
const QList<QBluetoothAddress> &remoteDevices);
51 void prepareNextJob();
54 void disconnectDevice(
const QBluetoothAddress& remote);
56 bool jobInProgress =
false;
57 QBluetoothAddress localAddress;
58 std::deque<std::pair<JobType, QBluetoothAddress>> jobQueue;