| 27 | using namespace GammaRay; |
| 28 | |
| 29 | Client::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 | |
| 46 | Client::~Client() |
| 47 | { |
nothing calls this directly
no test coverage detected