From 25180730194bec25f915f32ab846ea583fb1493f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 2 Nov 2020 16:11:52 +0100 Subject: Rename PySide2 to PySide6 Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer --- examples/declarative/extending/chapter1-basics/basics.py | 10 +++++----- examples/declarative/extending/chapter2-methods/methods.py | 10 +++++----- examples/declarative/extending/chapter3-bindings/bindings.py | 10 +++++----- .../chapter4-customPropertyTypes/customPropertyTypes.py | 10 +++++----- .../extending/chapter5-listproperties/listproperties.py | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) (limited to 'examples/declarative/extending') diff --git a/examples/declarative/extending/chapter1-basics/basics.py b/examples/declarative/extending/chapter1-basics/basics.py index a604a05bc..c14669908 100644 --- a/examples/declarative/extending/chapter1-basics/basics.py +++ b/examples/declarative/extending/chapter1-basics/basics.py @@ -39,15 +39,15 @@ ## ############################################################################# -"""PySide2 port of the qml/tutorials/extending-qml/chapter1-basics example from Qt v5.x""" +"""PySide6 port of the qml/tutorials/extending-qml/chapter1-basics example from Qt v5.x""" import os import sys -from PySide2.QtCore import Property, Signal, QUrl -from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor -from PySide2.QtQml import qmlRegisterType -from PySide2.QtQuick import QQuickPaintedItem, QQuickView +from PySide6.QtCore import Property, Signal, QUrl +from PySide6.QtGui import QGuiApplication, QPen, QPainter, QColor +from PySide6.QtQml import qmlRegisterType +from PySide6.QtQuick import QQuickPaintedItem, QQuickView class PieChart (QQuickPaintedItem): def __init__(self, parent = None): diff --git a/examples/declarative/extending/chapter2-methods/methods.py b/examples/declarative/extending/chapter2-methods/methods.py index 819d4514a..b10cab324 100644 --- a/examples/declarative/extending/chapter2-methods/methods.py +++ b/examples/declarative/extending/chapter2-methods/methods.py @@ -39,15 +39,15 @@ ## ############################################################################# -"""PySide2 port of the qml/tutorials/extending-qml/chapter2-methods example from Qt v5.x""" +"""PySide6 port of the qml/tutorials/extending-qml/chapter2-methods example from Qt v5.x""" import os import sys -from PySide2.QtCore import Property, Signal, Slot, QUrl, Qt -from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor -from PySide2.QtQml import qmlRegisterType -from PySide2.QtQuick import QQuickPaintedItem, QQuickView +from PySide6.QtCore import Property, Signal, Slot, QUrl, Qt +from PySide6.QtGui import QGuiApplication, QPen, QPainter, QColor +from PySide6.QtQml import qmlRegisterType +from PySide6.QtQuick import QQuickPaintedItem, QQuickView class PieChart (QQuickPaintedItem): def __init__(self, parent = None): diff --git a/examples/declarative/extending/chapter3-bindings/bindings.py b/examples/declarative/extending/chapter3-bindings/bindings.py index 62e19c955..2c1546927 100644 --- a/examples/declarative/extending/chapter3-bindings/bindings.py +++ b/examples/declarative/extending/chapter3-bindings/bindings.py @@ -39,15 +39,15 @@ ## ############################################################################# -"""PySide2 port of the qml/tutorials/extending-qml/chapter3-bindings example from Qt v5.x""" +"""PySide6 port of the qml/tutorials/extending-qml/chapter3-bindings example from Qt v5.x""" import os import sys -from PySide2.QtCore import Property, Signal, Slot, QUrl, Qt -from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor -from PySide2.QtQml import qmlRegisterType -from PySide2.QtQuick import QQuickPaintedItem, QQuickView +from PySide6.QtCore import Property, Signal, Slot, QUrl, Qt +from PySide6.QtGui import QGuiApplication, QPen, QPainter, QColor +from PySide6.QtQml import qmlRegisterType +from PySide6.QtQuick import QQuickPaintedItem, QQuickView class PieChart (QQuickPaintedItem): def __init__(self, parent = None): diff --git a/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py b/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py index b07aad59b..63c4e4959 100644 --- a/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py +++ b/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py @@ -39,15 +39,15 @@ ## ############################################################################# -"""PySide2 port of the qml/tutorials/extending-qml/chapter4-customPropertyTypes example from Qt v5.x""" +"""PySide6 port of the qml/tutorials/extending-qml/chapter4-customPropertyTypes example from Qt v5.x""" import os import sys -from PySide2.QtCore import Property, QUrl -from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor -from PySide2.QtQml import qmlRegisterType -from PySide2.QtQuick import QQuickPaintedItem, QQuickView, QQuickItem +from PySide6.QtCore import Property, QUrl +from PySide6.QtGui import QGuiApplication, QPen, QPainter, QColor +from PySide6.QtQml import qmlRegisterType +from PySide6.QtQuick import QQuickPaintedItem, QQuickView, QQuickItem class PieSlice (QQuickPaintedItem): diff --git a/examples/declarative/extending/chapter5-listproperties/listproperties.py b/examples/declarative/extending/chapter5-listproperties/listproperties.py index dd3e5c65c..466b3aca1 100644 --- a/examples/declarative/extending/chapter5-listproperties/listproperties.py +++ b/examples/declarative/extending/chapter5-listproperties/listproperties.py @@ -39,15 +39,15 @@ ## ############################################################################# -"""PySide2 port of the qml/tutorials/extending-qml/chapter5-listproperties example from Qt v5.x""" +"""PySide6 port of the qml/tutorials/extending-qml/chapter5-listproperties example from Qt v5.x""" import os import sys -from PySide2.QtCore import Property, QUrl -from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor -from PySide2.QtQml import qmlRegisterType, ListProperty -from PySide2.QtQuick import QQuickPaintedItem, QQuickView, QQuickItem +from PySide6.QtCore import Property, QUrl +from PySide6.QtGui import QGuiApplication, QPen, QPainter, QColor +from PySide6.QtQml import qmlRegisterType, ListProperty +from PySide6.QtQuick import QQuickPaintedItem, QQuickView, QQuickItem class PieSlice (QQuickPaintedItem): def __init__(self, parent = None): -- cgit v1.2.3