JS8Call-Improved master
Loading...
Searching...
No Matches
Message Class Referencefinal

#include <Message.h>

Classes

struct  Data

Public Member Functions

 Message (QString const &type, QString const &value={})
 Message (QString const &type, QString const &value, QVariantMap const &params)
 Message (Message const &)
Messageoperator= (Message const &)
 Message (Message &&) noexcept
Messageoperator= (Message &&) noexcept
qint64 id () const
QString type () const
QString value () const
QVariantMap params () const
qint64 ensureId ()
void setType (QString const &)
void setValue (QString const &)
QByteArray toJson () const
QJsonDocument toJsonDocument () const
QJsonObject toJsonObject () const
QVariantMap toVariantMap () const

Static Public Member Functions

static Message fromJson (QByteArray const &)
static Message fromJson (QJsonDocument const &)
static Message fromJson (QJsonObject const &)

Detailed Description

(C) 2018 Jordan Sherer kn4cr.nosp@m.d@gm.nosp@m.ail.c.nosp@m.om - All Rights Reserved


The documentation for this class was generated from the following files: