diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 8ce1a4616..8abfd3b51 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1637,6 +1637,17 @@ void QMLManager::setStatusbarColor(QColor) #endif +void QMLManager::retrieveBluetoothName() +{ + QString name = DC_devName(); + QList btDCs = BTDiscovery::instance()->getBtDcs(); + foreach (BTDiscovery::btVendorProduct btDC, btDCs) { + qDebug() << "compare" <vendor(); diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 98282425d..87972413d 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -62,6 +62,8 @@ public: QString DC_devName() const; void DC_setDevName(const QString& devName); + Q_INVOKABLE void retrieveBluetoothName(); + QString DC_devBluetoothName() const; void DC_setDevBluetoothName(const QString& devBluetoothName);