StartRole = Qt::UserRole + 1,
DurationRole,
OvertookRole,
- OvertakenByRole
+ OvertakenByRole,
};
QHash<int, QByteArray> roleNames() const;
Q_INVOKABLE static QDateTime epochToDateTime(quint64 epoch);
QList<Journey> const & getData() const;
+
+ void sort(int column, Qt::SortOrder order);
signals:
// General signals
void journeysChanged();