mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Qt5->Qt6: Replace QT_ENUMS with pyqtEnum.
part of CURA-8591
This commit is contained in:
parent
32b52c6166
commit
7021ff0b67
3 changed files with 10 additions and 10 deletions
|
@ -10,7 +10,7 @@ from enum import IntEnum
|
|||
from pathlib import Path
|
||||
from typing import Optional, List, Dict, Any, cast
|
||||
|
||||
from PyQt6.QtCore import pyqtSignal, QObject, pyqtSlot, pyqtProperty, Q_ENUMS, QTimer, QUrl
|
||||
from PyQt6.QtCore import pyqtSignal, QObject, pyqtSlot, pyqtProperty, pyqtEnum, QTimer, QUrl
|
||||
from PyQt6.QtNetwork import QNetworkReply
|
||||
from PyQt6.QtQml import qmlRegisterType, qmlRegisterUncreatableType
|
||||
|
||||
|
@ -50,7 +50,7 @@ class DFRetrievalStatus(QObject):
|
|||
be used within QML objects as DigitalFactory.RetrievalStatus.<status>
|
||||
"""
|
||||
|
||||
Q_ENUMS(RetrievalStatus)
|
||||
pyqtEnum(RetrievalStatus)
|
||||
|
||||
|
||||
class DigitalFactoryController(QObject):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue