Changed enum values to lowerCamelCase

CURA-1339
This commit is contained in:
Jaime van Kessel 2016-04-18 14:43:04 +02:00
parent 96e821cc3d
commit fb52d39936
3 changed files with 17 additions and 16 deletions

View file

@ -26,7 +26,7 @@ class PrinterOutputDevice(OutputDevice, QObject):
self._head_x = 0
self._head_y = 0
self._head_z = 0
self._connection_state = ConnectionState.CLOSED
self._connection_state = ConnectionState.closed
def requestWrite(self, node, file_name = None, filter_by_machine = False):
raise NotImplementedError("requestWrite needs to be implemented")
@ -301,8 +301,9 @@ class PrinterOutputDevice(OutputDevice, QObject):
self._progress = progress
self.progressChanged.emit()
## The current processing state of the backend.
class ConnectionState(IntEnum):
CLOSED = 0
CONNECTING = 1
CONNECTED = 2
closed = 0
connecting = 1
connected = 2