summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-06-10 10:09:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-12 09:55:27 -0700
commit790c0dcfc876d50b21791ad7b81f693796e2173b (patch)
tree3ab9032be99ca11d666eb4188fca05e950dbd579 /core/downloadfromdcthread.h
parentc7a35098008b215b1cccad512c4c568cd618f2c6 (diff)
downloadsubsurface-790c0dcfc876d50b21791ad7b81f693796e2173b.tar.gz
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>
Diffstat (limited to 'core/downloadfromdcthread.h')
-rw-r--r--core/downloadfromdcthread.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h
index 13cca1438..f606a7a74 100644
--- a/core/downloadfromdcthread.h
+++ b/core/downloadfromdcthread.h
@@ -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 &currentText);
+ Q_INVOKABLE int getDetectedProductIndex(const QString &currentVendorText,
+ const QString &currentProductText);
+ Q_INVOKABLE QString getDetectedDeviceAddress(const QString &currentVendorText,
+ const QString &currentProductText);
public slots:
void setVendor(const QString& vendor);