mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Revert "Merge pull request #5726 from Ultimaker/CL-1331_use_API_for_UM3NetworkPrinting"
This reverts commitbec7b6546d, reversing changes made to7094b222b1. The changes there were not accepted. Please see pull request https://github.com/Ultimaker/Cura/pull/5726 for the discussion about this. Conflicts: plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py -> Just in one TODO comment.
This commit is contained in:
parent
288770b991
commit
4e361a068c
5 changed files with 86 additions and 177 deletions
|
|
@ -6,7 +6,6 @@ from PyQt5.QtCore import QObject, pyqtProperty
|
|||
|
||||
from cura.API.Backups import Backups
|
||||
from cura.API.Interface import Interface
|
||||
from cura.API.Machines import Machines
|
||||
from cura.API.Account import Account
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
|
@ -45,9 +44,6 @@ class CuraAPI(QObject):
|
|||
# Backups API
|
||||
self._backups = Backups(self._application)
|
||||
|
||||
# Machines API
|
||||
self._machines = Machines(self._application)
|
||||
|
||||
# Interface API
|
||||
self._interface = Interface(self._application)
|
||||
|
||||
|
|
@ -62,10 +58,6 @@ class CuraAPI(QObject):
|
|||
def backups(self) -> "Backups":
|
||||
return self._backups
|
||||
|
||||
@pyqtProperty(QObject)
|
||||
def machines(self) -> "Machines":
|
||||
return self._machines
|
||||
|
||||
@property
|
||||
def interface(self) -> "Interface":
|
||||
return self._interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue