mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: add internal admin for virtual vendor
Added a list of paired BT devices for the "Paired BT Devices" vendor. The devices under this vendor represent all BT devces that can be found from the local BT interface. Some special processing is required, as the BT provided data is (obviously) missing the specific data needed to open a BT device using libdc code. This processing is not in this commit, but will follow. This commit is preparation for that. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c7a3509800
commit
790c0dcfc8
5 changed files with 75 additions and 21 deletions
|
@ -45,9 +45,11 @@ public:
|
|||
device_data_t* internalData();
|
||||
|
||||
Q_INVOKABLE QStringList getProductListFromVendor(const QString& vendor);
|
||||
Q_INVOKABLE int getDetectedVendorIndex();
|
||||
Q_INVOKABLE int getDetectedProductIndex();
|
||||
Q_INVOKABLE QString getDetectedDeviceAddress();
|
||||
Q_INVOKABLE int getDetectedVendorIndex(const QString ¤tText);
|
||||
Q_INVOKABLE int getDetectedProductIndex(const QString ¤tVendorText,
|
||||
const QString ¤tProductText);
|
||||
Q_INVOKABLE QString getDetectedDeviceAddress(const QString ¤tVendorText,
|
||||
const QString ¤tProductText);
|
||||
|
||||
public slots:
|
||||
void setVendor(const QString& vendor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue