aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp10
-rw-r--r--mobile-widgets/qmlmanager.h4
2 files changed, 0 insertions, 14 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index b27fe4b37..8e7664229 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1681,21 +1681,11 @@ int QMLManager::DC_deviceId() const
return m_device_data->deviceId();
}
-int QMLManager::DC_diveId() const
-{
- return m_device_data->diveId();
-}
-
void QMLManager::DC_setDeviceId(int deviceId)
{
m_device_data->setDeviceId(deviceId);
}
-void QMLManager::DC_setDiveId(int diveId)
-{
- m_device_data->setDiveId(diveId);
-}
-
void QMLManager::DC_setVendor(const QString& vendor)
{
m_device_data->setVendor(vendor);
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index abc497e0c..0fe9dc171 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -50,7 +50,6 @@ class QMLManager : public QObject {
Q_PROPERTY(bool DC_saveDump READ DC_saveDump WRITE DC_setSaveDump)
Q_PROPERTY(bool DC_saveLog READ DC_saveLog WRITE DC_setSaveLog)
Q_PROPERTY(int DC_deviceId READ DC_deviceId WRITE DC_setDeviceId)
- Q_PROPERTY(int DC_diveId READ DC_diveId WRITE DC_setDiveId)
public:
QMLManager();
~QMLManager();
@@ -87,9 +86,6 @@ public:
int DC_deviceId() const;
void DC_setDeviceId(int deviceId);
- int DC_diveId() const;
- void DC_setDiveId(int diveId);
-
Q_INVOKABLE QStringList getProductListFromVendor(const QString& vendor);
Q_INVOKABLE int getMatchingAddress(const QString &vendor, const QString &product);
Q_INVOKABLE int getDetectedVendorIndex();