From 5e4f49fd4edbffc302bd14b972f6ea046230a333 Mon Sep 17 00:00:00 2001 From: kh Date: Thu, 27 Nov 2014 15:35:52 +0100 Subject: Move and rename connect method, adapt depending code. Move the connect into the remote object class and rename. Avoids passing around the socket and possible writing to the socket in a different thread. Also inherit the private remote client class from remote object to avoid code duplication (connect and send). Change-Id: I6e747dbbd8eff2846362d7f5fa4fa170495ac503 Reviewed-by: Kai Koehne --- src/libs/installer/remoteobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libs/installer/remoteobject.h') diff --git a/src/libs/installer/remoteobject.h b/src/libs/installer/remoteobject.h index 0aef4182a..2b6a3ab71 100644 --- a/src/libs/installer/remoteobject.h +++ b/src/libs/installer/remoteobject.h @@ -108,6 +108,7 @@ public: } protected: + bool authorize(); bool connectToServer(const QVariantList &arguments = QVariantList()); // Use this structure to allow derived classes to manipulate the template -- cgit v1.2.3