This commit is contained in:
pls.153 2023-06-16 10:00:31 +02:00
parent c77d993496
commit f9e657fa83
5 changed files with 28 additions and 22 deletions

View file

@ -26,6 +26,7 @@ public:
QBluetoothDeviceInfo currentDevice; // if not defined, first one discovered
QList<QBluetoothDeviceInfo> devices;
void setCurrentDevice(const QBluetoothDeviceInfo&);
QString initialDeviceName; // optional
// custom device filter (e.g. name filter)
virtual bool deviceFilter(const QBluetoothDeviceInfo&) { return true; }