MCPcopy Create free account
hub / github.com/KDAB/GammaRay / Client

Method Client

client/client.cpp:29–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using namespace GammaRay;
28
29Client::Client(QObject *parent)
30 : Endpoint(parent)
31 , m_clientDevice(nullptr)
32 , m_statModel(new MessageStatisticsModel(this))
33 , m_initState(0)
34{
35 Message::resetNegotiatedDataVersion();
36
37 connect(this, &Endpoint::disconnected, this, &Client::socketDisconnected);
38
39 m_propertySyncer->setRequestInitialSync(true);
40
41 ObjectBroker::registerModelInternal(QStringLiteral(
42 "com.kdab.GammaRay.MessageStatisticsModel"),
43 m_statModel);
44}
45
46Client::~Client()
47{

Callers

nothing calls this directly

Calls 1

setRequestInitialSyncMethod · 0.80

Tested by

no test coverage detected