X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=src%2Fjourneymodel.h;h=ccb4ffc17c0bb8fca55d6459a21c1948a4f85486;hp=910821c389726c45890ac6af3ac22e8775942722;hb=41ee443df2b12e7a4373be580006f57cc5fd768a;hpb=4248fa25458b2d282d4e0ed4447e4bc7570046eb diff --git a/src/journeymodel.h b/src/journeymodel.h index 910821c..ccb4ffc 100644 --- a/src/journeymodel.h +++ b/src/journeymodel.h @@ -39,6 +39,10 @@ public: Q_INVOKABLE static QDate epochToDate(quint64 epoch); Q_INVOKABLE static QTime epochToTime(quint64 epoch); Q_INVOKABLE static QDateTime epochToDateTime(quint64 epoch); + + QList const & getData() const; + + void sort(int column, Qt::SortOrder order); signals: // General signals void journeysChanged();