Bump version to 0.2.2
[harbour-pedalo.git] / src / journeymodel.h
index ded0184..639c6d4 100644 (file)
@@ -15,7 +15,7 @@ public:
         StartRole = Qt::UserRole + 1,
         DurationRole,
         OvertookRole,
-        OvertakenByRole
+        OvertakenByRole,
     };
 
     QHash<int, QByteArray> roleNames() const;
@@ -41,6 +41,8 @@ public:
     Q_INVOKABLE static QDateTime epochToDateTime(quint64 epoch);
 
     QList<Journey> const & getData() const;
+
+    void sort(int column, Qt::SortOrder order);
 signals:
     // General signals
     void journeysChanged();