From b429f98d6af9648438d21e414e8db50892b1eade Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 14 Jun 2016 09:42:05 +0200 Subject: [PATCH] Added signalemitter decoration CURA-49 --- cura/PrinterOutputDevice.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index 7025646294..5ed103ca9b 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -3,6 +3,7 @@ from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject from enum import IntEnum # For the connection state tracking. from UM.Logger import Logger +from UM.Signal import signalemitter ## Printer output device adds extra interface options on top of output device. # @@ -13,6 +14,7 @@ from UM.Logger import Logger # functions to actually have the implementation. # # For all other uses it should be used in the same way as a "regular" OutputDevice. +@signalemitter class PrinterOutputDevice(OutputDevice, QObject): def __init__(self, device_id, parent = None): super().__init__(device_id = device_id, parent = parent)