Setup the authentication stuff for LegacyUM3

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-22 11:59:07 +01:00
parent f987e6d977
commit 7465a6551a
3 changed files with 284 additions and 6 deletions

View file

@ -135,11 +135,13 @@ class PrinterOutputDevice(QObject, OutputDevice):
## Attempt to establish connection
def connect(self):
self.setConnectionState(ConnectionState.connecting)
self._update_timer.start()
## Attempt to close the connection
def close(self):
self._update_timer.stop()
self.setConnectionState(ConnectionState.closed)
## Ensure that close gets called when object is destroyed
def __del__(self):