Commit 58a9b0c7 authored by Ulf Hermann's avatar Ulf Hermann

QmlDebug: Allow retrieval of connection from debug client

Change-Id: Ifae983771dd0fcf1c12fb7d3e9fa496de6d24373
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
parent 87b2d5cd
......@@ -400,6 +400,12 @@ QmlDebugClient::State QmlDebugClient::state() const
return Unavailable;
}
QmlDebugConnection *QmlDebugClient::connection() const
{
Q_D(const QmlDebugClient);
return d->connection;
}
void QmlDebugClient::sendMessage(const QByteArray &message)
{
Q_D(QmlDebugClient);
......
......@@ -90,6 +90,7 @@ public:
QString name() const;
int remoteVersion() const;
State state() const;
QmlDebugConnection *connection() const;
virtual void sendMessage(const QByteArray &);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment