diff options
author | kh <karsten.heimrich@theqtcompany.com> | 2014-11-27 15:35:52 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-12-02 13:28:47 +0100 |
commit | 5e4f49fd4edbffc302bd14b972f6ea046230a333 (patch) | |
tree | 1cb90f2e8073d34a03276baa15cd84edf2d3274c /src/libs/installer/remoteobject.h | |
parent | d872d37e840d63d338ece1eb684aa9cd4b0d9fbc (diff) |
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 <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/remoteobject.h')
-rw-r--r-- | src/libs/installer/remoteobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |