summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-01-10 08:39:24 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-10 09:25:57 -0700
commite700920e8efd23e2101194145d00c9f282a41e6c (patch)
tree63a4afc01af48a429472b6d8bc3472563303706e /mobile-widgets/qmlmanager.h
parent57b96490b2c5b81023439046dea225b8caf09946 (diff)
downloadsubsurface-e700920e8efd23e2101194145d00c9f282a41e6c.tar.gz
mobile: remove updateSelectedDive logic
Selection is now be handled by the core. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index f0f78937e..d497280bd 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -32,7 +32,6 @@ class QMLManager : public QObject {
Q_PROPERTY(QString startPageText MEMBER m_startPageText WRITE setStartPageText NOTIFY startPageTextChanged)
Q_PROPERTY(bool verboseEnabled MEMBER m_verboseEnabled WRITE setVerboseEnabled NOTIFY verboseEnabledChanged)
Q_PROPERTY(QString notificationText MEMBER m_notificationText WRITE setNotificationText NOTIFY notificationTextChanged)
- Q_PROPERTY(int updateSelectedDive MEMBER m_updateSelectedDive WRITE setUpdateSelectedDive NOTIFY updateSelectedDiveChanged)
Q_PROPERTY(int selectedDiveTimestamp MEMBER m_selectedDiveTimestamp WRITE setSelectedDiveTimestamp NOTIFY selectedDiveTimestampChanged)
Q_PROPERTY(QStringList suitList READ suitList NOTIFY suitListChanged)
Q_PROPERTY(QStringList buddyList READ buddyList NOTIFY buddyListChanged)
@@ -137,9 +136,6 @@ public:
QString notificationText() const;
void setNotificationText(QString text);
- int updateSelectedDive() const;
- void setUpdateSelectedDive(int idx);
-
int selectedDiveTimestamp() const;
void setSelectedDiveTimestamp(int when);
@@ -220,7 +216,7 @@ public slots:
QString getVersion() const;
void deleteGpsFix(quint64 when);
void revertToNoCloudIfNeeded();
- void consumeFinishedLoad(timestamp_t currentDiveTimestamp);
+ void consumeFinishedLoad();
void refreshDiveList();
void screenChanged(QScreen *screen);
qreal lastDevicePixelRatio();
@@ -247,7 +243,6 @@ private:
bool m_loadFromCloud;
static QMLManager *m_instance;
QString m_notificationText;
- int m_updateSelectedDive;
int m_selectedDiveTimestamp;
qreal m_lastDevicePixelRatio;
QElapsedTimer timer;
@@ -287,7 +282,6 @@ signals:
void loadFromCloudChanged();
void startPageTextChanged();
void notificationTextChanged();
- void updateSelectedDiveChanged();
void selectedDiveTimestampChanged();
void sendScreenChanged(QScreen *screen);
void progressMessageChanged();