aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/shared
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-15 15:42:10 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-08-04 13:34:55 +0000
commit07f19d36347d69c330e092e3cb4fc351a8815d5c (patch)
tree621e882a9f11d8d89760e327e32d1a3574404394 /src/plugins/qmltooling/shared
parent2f190e21c82c7b20f6cf1b9e5671316cd831f684 (diff)
Remove pimpl from debug server connections
Now that they are self-contained plugins there is no reason for the indirection anymore. Change-Id: Ic2e2fe2075796c758057235e12981c8d40ce97c2 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmltooling/shared')
-rw-r--r--src/plugins/qmltooling/shared/qqmldebugserverconnection.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/qmltooling/shared/qqmldebugserverconnection.h b/src/plugins/qmltooling/shared/qqmldebugserverconnection.h
index 03cbe19321..9bdb1bcc8b 100644
--- a/src/plugins/qmltooling/shared/qqmldebugserverconnection.h
+++ b/src/plugins/qmltooling/shared/qqmldebugserverconnection.h
@@ -52,13 +52,14 @@ QT_BEGIN_NAMESPACE
class QQmlDebugServer;
-class QQmlDebugServerConnection
+class QQmlDebugServerConnection : public QObject
{
+ Q_OBJECT
public:
- virtual ~QQmlDebugServerConnection() {}
+ QQmlDebugServerConnection(QObject *parent = 0) : QObject(parent) {}
virtual void setServer(QQmlDebugServer *server) = 0;
- virtual bool setPortRange(int portFrom, int portTo, bool bock, const QString &hostaddress) = 0;
+ virtual bool setPortRange(int portFrom, int portTo, bool block, const QString &hostaddress) = 0;
virtual bool setFileName(const QString &fileName, bool block) = 0;
virtual bool isConnected() const = 0;
virtual void disconnect() = 0;