summaryrefslogtreecommitdiff
path: root/src/libs/qmldebug/qmldebugclient.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-16 17:05:10 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-19 11:32:42 +0000
commit47317eff60619d762c54f9dc7e472431b2a86c2a (patch)
treeb2dcd9106df14a32a331058ee441b8a06b4651d5 /src/libs/qmldebug/qmldebugclient.h
parenta3e4a28bee647f40702fd4d97bc6569688cb1763 (diff)
downloadqt-creator-47317eff60619d762c54f9dc7e472431b2a86c2a.tar.gz
QmlDebug: Rename some members of QmlDebugConnection
This is to adopt the naming to the code in src/qmldebug in qtdeclarative. Once we can require a version of Qt that has qmldebug for building QtCreator we can then remove our own version of this code. Change-Id: I573f0703871b5812789c5c7a6287567d5c2875e6 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/libs/qmldebug/qmldebugclient.h')
-rw-r--r--src/libs/qmldebug/qmldebugclient.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libs/qmldebug/qmldebugclient.h b/src/libs/qmldebug/qmldebugclient.h
index 55ae29d9e0..13d4d79ce1 100644
--- a/src/libs/qmldebug/qmldebugclient.h
+++ b/src/libs/qmldebug/qmldebugclient.h
@@ -59,14 +59,15 @@ public:
int currentDataStreamVersion() const;
void setMaximumDataStreamVersion(int maximumVersion);
- bool isOpen() const;
+ bool isConnected() const;
bool isConnecting() const;
void close();
+ float serviceVersion(const QString &serviceName) const;
signals:
- void opened();
+ void connected();
+ void disconnected();
void error(QDebugSupport::Error);
- void closed();
void stateMessage(const QString &message);
void errorMessage(const QString &message);
@@ -91,7 +92,7 @@ public:
~QmlDebugClient();
QString name() const;
- int remoteVersion() const;
+ float serviceVersion() const;
State state() const;
QmlDebugConnection *connection() const;