Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfieldOfView <aldo@fieldofview.com>2016-07-04 17:33:32 +0300
committerfieldOfView <aldo@fieldofview.com>2016-07-04 17:33:32 +0300
commitdd249206ac15db31eda2cd0fc5990c6871619387 (patch)
tree3d569b64dc9346aa78d2a5eb68c46fafc7d26371 /cura/PrinterOutputDevice.py
parent3d86ffd57542afa863778dc408e6b446224f4258 (diff)
Fix codestyle
CURA-491
Diffstat (limited to 'cura/PrinterOutputDevice.py')
-rw-r--r--cura/PrinterOutputDevice.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py
index 6504de9cdd..212ed86ab3 100644
--- a/cura/PrinterOutputDevice.py
+++ b/cura/PrinterOutputDevice.py
@@ -60,10 +60,10 @@ class PrinterOutputDevice(QObject, OutputDevice):
headPositionChanged = pyqtSignal()
# Signal to be emitted when either of the material ids is changed
- MaterialIdChanged = pyqtSignal(int, str, arguments = ["index", "id"])
+ materialIdChanged = pyqtSignal(int, str, arguments = ["index", "id"])
# Signal to be emitted when either of the hotend ids is changed
- HotendIdChanged = pyqtSignal(int, str, arguments = ["index", "id"])
+ hotendIdChanged = pyqtSignal(int, str, arguments = ["index", "id"])
# Signal that is emitted every time connection state is changed.
# it also sends it's own device_id (for convenience sake)
@@ -220,7 +220,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
self._hotend_temperatures[index] = temperature
self.hotendTemperaturesChanged.emit()
- @pyqtProperty("QVariantList", notify = MaterialIdChanged)
+ @pyqtProperty("QVariantList", notify = materialIdChanged)
def materialIds(self):
return self._material_ids
@@ -231,10 +231,10 @@ class PrinterOutputDevice(QObject, OutputDevice):
if material_id and material_id != "" and material_id != self._material_ids[index]:
Logger.log("d", "Setting material id of hotend %d to %s" % (index, material_id))
self._material_ids[index] = material_id
- self.MaterialIdChanged.emit(index, material_id)
+ self.materialIdChanged.emit(index, material_id)
- @pyqtProperty("QVariantList", notify = HotendIdChanged)
+ @pyqtProperty("QVariantList", notify = hotendIdChanged)
def hotendIds(self):
return self._hotend_ids
@@ -245,7 +245,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
if hotend_id and hotend_id != "" and hotend_id != self._hotend_ids[index]:
Logger.log("d", "Setting hotend id of hotend %d to %s" % (index, hotend_id))
self._hotend_ids[index] = hotend_id
- self.HotendIdChanged.emit(index, hotend_id)
+ self.hotendIdChanged.emit(index, hotend_id)
## Attempt to establish connection