summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index 05c3b76ff..0c393bc2d 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -15,6 +15,9 @@ public:
void setSourceModel(QAbstractItemModel *sourceModel);
Q_INVOKABLE void addAllDives();
Q_INVOKABLE void clear();
+ Q_INVOKABLE QVariant tripIdToObject(const QString &s);
+ Q_INVOKABLE QString tripTitle(const QVariant &trip);
+ Q_INVOKABLE QString tripShortDate(const QVariant &trip);
public slots:
int getDiveId(int idx);
int getIdxForId(int id);