projects
/
harbour-pedalo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add graph animation; support for line graphs
[harbour-pedalo.git]
/
src
/
journeymodel.h
diff --git
a/src/journeymodel.h
b/src/journeymodel.h
index
ded0184
..
639c6d4
100644
(file)
--- a/
src/journeymodel.h
+++ b/
src/journeymodel.h
@@
-15,7
+15,7
@@
public:
StartRole = Qt::UserRole + 1,
DurationRole,
OvertookRole,
StartRole = Qt::UserRole + 1,
DurationRole,
OvertookRole,
- OvertakenByRole
+ OvertakenByRole,
};
QHash<int, QByteArray> roleNames() const;
};
QHash<int, QByteArray> roleNames() const;
@@
-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();