aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/usingmodel.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-02 16:11:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-02 16:12:04 +0000
commit25180730194bec25f915f32ab846ea583fb1493f (patch)
tree9a73e0336ecf21e085d99d6a651c5547b9eb99f8 /examples/declarative/usingmodel.py
parent6e3e7b9ca0548430aaa5e2555d6e02c64625fa3f (diff)
Rename PySide2 to PySide6
Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/declarative/usingmodel.py')
-rw-r--r--examples/declarative/usingmodel.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/usingmodel.py b/examples/declarative/usingmodel.py
index 3d5e8be32..a32945a25 100644
--- a/examples/declarative/usingmodel.py
+++ b/examples/declarative/usingmodel.py
@@ -41,9 +41,9 @@
import os
import sys
-from PySide2.QtCore import QAbstractListModel, Qt, QUrl, QByteArray
-from PySide2.QtGui import QGuiApplication
-from PySide2.QtQuick import QQuickView
+from PySide6.QtCore import QAbstractListModel, Qt, QUrl, QByteArray
+from PySide6.QtGui import QGuiApplication
+from PySide6.QtQuick import QQuickView
class PersonModel (QAbstractListModel):
MyRole = Qt.UserRole + 1