summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r--qt-models/divelocationmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h
index 7ca0c926a..4e5adf104 100644
--- a/qt-models/divelocationmodel.h
+++ b/qt-models/divelocationmodel.h
@@ -13,6 +13,8 @@ public:
QVariant data(const QModelIndex &index = QModelIndex(), int role = Qt::DisplayRole) const;
int32_t addDiveSite(const QString& name, int lat = 0, int lon = 0);
bool setData(const QModelIndex &index, const QVariant &value, int role);
+ bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
+
public slots:
void update();
private: