This repository has been archived on 2025-12-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
yachat/third-party/JsonQt/lib/JsonRpcAdaptor.cpp

20 lines
401 B
C++
Raw Permalink Normal View History

2025-12-25 01:37:49 +05:00
#include "JsonRpcAdaptor.h"
#include "JsonRpcAdaptorPrivate.h"
namespace JsonQt
{
JsonRpcAdaptor::JsonRpcAdaptor(QObject* adapt, QObject* parent)
:
QObject(parent),
d(new JsonRpcAdaptorPrivate(adapt, this))
{
connect(d, SIGNAL(sendJson(const QString&)), this, SIGNAL(sendJson(const QString&)));
}
void JsonRpcAdaptor::processJson(const QString& json)
{
d->processJson(json);
}
};