Provide global functions to convert any kind of objects to/from QString and QVariant format.
More...
|
template<typename T > |
QString | to_string (const T &t, const QString &format=QString(), int index=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) |
|
template<typename T > |
qx_bool | from_string (const QString &s, T &t, const QString &format=QString(), int index=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) |
|
template<typename T > |
QVariant | to_variant (const T &t, const QString &format=QString(), int index=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) |
|
template<typename T > |
qx_bool | from_variant (const QVariant &v, T &t, const QString &format=QString(), int index=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) |
|
template<typename T > |
QJsonValue | to_json (const T &t, const QString &format=QString()) |
|
template<typename T > |
qx_bool | from_json (const QJsonValue &j, T &t, const QString &format=QString()) |
|
Provide global functions to convert any kind of objects to/from QString and QVariant format.