QxOrm  1.4.5
C++ Object Relational Mapping library

Provide a Qt QJson serialization method (save/load) for type QColor. More...

#include <QtCore/qjsonvalue.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonarray.h>
#include <QtGui/qcolor.h>
#include <QxConvert/QxConvert.h>
#include <QxConvert/QxConvert_Impl.h>

Go to the source code of this file.

Classes

struct  qx::cvt::detail::QxConvert_ToJson< QColor >
struct  qx::cvt::detail::QxConvert_FromJson< QColor >

Namespaces

namespace  qx
 

Root namespace for all QxOrm library features.


namespace  qx::cvt
 

Provide global functions to convert any kind of objects to/from QString and QVariant format.


namespace  qx::cvt::detail
 

Internal helper tools for qx::cvt namespace.


Functions

QX_DLL_EXPORT QJsonValue qx::cvt::detail::QxConvert_ToJson_Helper (const QColor &t, const QString &format) QX_USED
QX_DLL_EXPORT qx_bool qx::cvt::detail::QxConvert_FromJson_Helper (const QJsonValue &j, QColor &t, const QString &format) QX_USED

Detailed Description

Provide a Qt QJson serialization method (save/load) for type QColor.

Author:
Lionel Marty

Definition in file QxSerializeQJson_QColor.h.