initial commit
This commit is contained in:
commit
9d20827c46
2469 changed files with 470994 additions and 0 deletions
19
third-party/JsonQt/lib/JsonRpcAdaptor.cpp
vendored
Normal file
19
third-party/JsonQt/lib/JsonRpcAdaptor.cpp
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#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);
|
||||
}
|
||||
};
|
||||
Reference in a new issue