aboutsummaryrefslogtreecommitdiff
path: root/converters.h
AgeCommit message (Collapse)Author
2018-03-24Work around a bug in MSVC leading to "ambiguous call" compilation errorKitsune Ral
2018-03-24converters.h: Make the default toJson() less greedyKitsune Ral
template<T> toJson(T&&) grabbed even things that it cannot convert, leading to unpleasant effects in a situation when all that was needed was one implicit conversion (e.g. from QList<QString> to QStringList). So now it's three trivial toJson() overloads instead of a template.
2018-03-05converters.h: pass QJsonValue by reference; add support of QHash<QString, T>Kitsune Ral
2017-12-07Fix compilation with Qt 5.2Kitsune Ral
2017-12-07converters.h: Use perfect forwardingKitsune Ral
2017-12-07converters.h: support QByteArrayKitsune Ral
2017-11-01Add fromJson<QList<QString>> and fromJson<QStringList>Kitsune Ral
2017-11-01Move converters.h out of jobs/Kitsune Ral
Because they are applicable beyond jobs.