X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=src%2Fjourney.h;fp=src%2Fjourney.h;h=560937e49f93dc9a78091678f1700fe0280e3124;hp=45393b378b8dc0fb5aee837e08f4a4c34c05d3af;hb=e917baa52e7157c7c41424527c3881c22ff65588;hpb=0108947ead4cc9e0ff23fee82db2fb1fd7cb2dad diff --git a/src/journey.h b/src/journey.h index 45393b3..560937e 100644 --- a/src/journey.h +++ b/src/journey.h @@ -3,6 +3,7 @@ #include #include +#include class Journey { @@ -11,11 +12,17 @@ public: Journey(quint64 start, quint32 duration, quint32 overtook, quint32 overtakenby); quint64 getStart () const; + QDate getStartDate() const; + QTime getStartTime() const; + QTime getEndTime() const; qint32 getDuration () const; qint32 getOvertook () const; qint32 getOvertakenBy () const; void setStart (const quint64 value); + void setStartDate (const QDate &value); + void setStartTime (const QTime &value); + void setEndTime(const QTime &value); void setDuration (qint32 value); void setOvertook (qint32 value); void setOvertakenBy (qint32 value); @@ -27,5 +34,4 @@ private: quint32 overtakenby; }; - #endif // JOURNEY_H