summaryrefslogtreecommitdiffstats
path: root/qt-models/weightmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/weightmodel.h')
-rw-r--r--qt-models/weightmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/weightmodel.h b/qt-models/weightmodel.h
index 444d8611e..bb2c63778 100644
--- a/qt-models/weightmodel.h
+++ b/qt-models/weightmodel.h
@@ -23,7 +23,6 @@ public:
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
void passInData(const QModelIndex &index, const QVariant &value);
- void add();
void clear();
void updateDive(dive *d);
weightsystem_t *weightSystemAt(const QModelIndex &index);
@@ -33,6 +32,8 @@ public
slots:
void remove(QModelIndex index);
void weightsystemsReset(const QVector<dive *> &dives);
+ void weightAdded(dive *d, int pos);
+ void weightRemoved(dive *d, int pos);
private:
dive *d;