refs #568, specialized lists (timestamp, DB objects, model list)

* remaned to latest/oldestObject
* JSON functions with prefix
* remove by keys
* only add models with model string to QStringList
This commit is contained in:
Klaus Basan
2016-01-08 00:17:16 +01:00
parent 5a17506a97
commit 72256cf86f
7 changed files with 100 additions and 18 deletions

View File

@@ -49,10 +49,10 @@ namespace BlackMisc
QList<CONTAINER> splitByTime(qint64 msSinceEpoch, bool sortedLatestFirst = false) const;
//! Latest value
OBJ latestValue() const;
OBJ latestObject() const;
//! Latest value
OBJ oldestValue() const;
OBJ oldestObject() const;
//! Remove objects with timestamp before dateTime
void removeBefore(const QDateTime &dateTime);