List journeys in descending order of time
[harbour-pedalo.git] / src / journeymodel.h
index ded0184..ccb4ffc 100644 (file)
@@ -41,6 +41,8 @@ public:
     Q_INVOKABLE static QDateTime epochToDateTime(quint64 epoch);
 
     QList<Journey> const & getData() 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();
 signals:
     // General signals
     void journeysChanged();