summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-12-27 13:49:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-27 15:19:50 -0800
commit2dd0187fe827130dbe5a487cd08070fc7c3ae2a4 (patch)
treee157c3b150a49c65887ef5faf72871e1b356c5d2 /qt-models/divelistmodel.h
parent09a7736ae1e5a1569a3d9b9f6656baf72136c8e1 (diff)
downloadsubsurface-2dd0187fe827130dbe5a487cd08070fc7c3ae2a4.tar.gz
Cleanup: remove getDiveId() functions
These functions in DiveListSortModel and DiveListModel had no users. Remove them. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index 64d1e7ddc..50b45caa9 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -19,7 +19,6 @@ public:
Q_INVOKABLE QString tripTitle(const QVariant &trip);
Q_INVOKABLE QString tripShortDate(const QVariant &trip);
public slots:
- int getDiveId(int idx);
int getIdxForId(int id);
void setFilter(QString f);
void resetFilter();
@@ -53,7 +52,6 @@ public:
void updateDive(int i, dive *d);
void clear();
int rowCount(const QModelIndex &parent = QModelIndex()) const;
- int getDiveId(int idx) const;
int getDiveIdx(int id) const;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
QHash<int, QByteArray> roleNames() const;