diff options
Diffstat (limited to 'responsemessage.h')
-rw-r--r-- | responsemessage.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/responsemessage.h b/responsemessage.h index bac4296..304a6e3 100644 --- a/responsemessage.h +++ b/responsemessage.h @@ -22,14 +22,7 @@ class ResponseMessage : public Message { - - public: - //deprecated: - explicit ResponseMessage(QByteArray request = nullptr); - - explicit ResponseMessage(QJsonDocument data); - inline QString requestApi() const { return m_request["api"].toString(); @@ -85,6 +78,9 @@ class ResponseMessage : public Message unsigned int m_reply_callid; QJsonObject m_reply_data; QMap<QString, QVariant> m_request; + + explicit ResponseMessage(QJsonDocument data); + friend class MessageFactory; }; #endif // RESPONSEMESSAGE_H |