Age | Commit message (Collapse) | Author |
|
|
|
|
|
data() in each job class
|
|
|
|
|
|
Replaced QList<> with QVector<> where appropriate + minor code cleanup
|
|
See https://marcmutz.wordpress.com/effective-qt/containers/ for the background and http://lists.qt-project.org/pipermail/development/2015-July/022283.html for the relevant flamewar in Qt dev mailing list.
|
|
return it
This better fixes the contract for derived job classes and simplifies error reporting. Methods error() and errorString() are kept for back-compatibility; status() returns a combination of them, conveniently packed into a Status object. For a quick status check, Status::good() is provided.
|
|
Due to signal-slot processing it's not obvious when exactly each job object is deleted.
|
|
data()
Thanks to CLang model.
|
|
And we don't need two log lines for timeouts.
|
|
actually introduce EventList class)
This makes loading of room events more compliant with the spec, not trying to load from keys that are not supposed to be there. As a result of refactoring along the way, a dedicated QList<Event*> subclass is made that remembers the JSON key it should load from and actually load itself from a QJsonArray.
|
|
|