| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2010 Rafael Fernández López <[email protected]> |
| 3 |
* SPDX-FileCopyrightText: 2010 UFO Coders <[email protected]> |
| 4 |
* SPDX-FileCopyrightText: 2014-2015 David Rosca <[email protected]> |
| 5 |
* |
| 6 |
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef DEVICERECEIVERTEST_H |
| 10 |
#define DEVICERECEIVERTEST_H |
| 11 |
|
| 12 |
#include <QObject> |
| 13 |
|
| 14 |
#include "manager.h" |
| 15 |
|
| 16 |
class DeviceReceiver : public QObject |
| 17 |
{ |
| 18 |
Q_OBJECT |
| 19 |
|
| 20 |
public: |
| 21 |
explicit DeviceReceiver(QObject *parent = nullptr); |
| 22 |
|
| 23 |
void scanDevices(); |
| 24 |
|
| 25 |
public Q_SLOTS: |
| 26 |
void deviceFound(const BluezQt::DevicePtr &device); |
| 27 |
void devicePropertyChanged(const BluezQt::DevicePtr &device); |
| 28 |
void adapterAdded(const BluezQt::AdapterPtr &adapter); |
| 29 |
}; |
| 30 |
|
| 31 |
#endif // DEVICERECEIVERTEST_H |